Commit a9a41e35 authored by Fabien Maniere's avatar Fabien Maniere

translations config and integration

parent df67f0af
......@@ -19,6 +19,25 @@
color: var(--bs-blue);
font-size: 30px;
}
.nav-link-code {
margin-top: 2px;
}
.flag {
text-indent: -9999em;
width: 20px;
height: 20px;
padding: 0;
margin: auto;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.flag-fr {
background-image: url(../images/flag-fr.png);
}
.flag-en {
background-image: url(../images/flag-en.png);
}
section.panel:first-of-type {
/* padding-top: 90px; */
......
---
title: Welcome to the GarganText project
description: Exploration de vos données dans un écosystème numérique décentralisé libre et fiable, transparent et intelligible. La complexité de vos données devient un atout.
keywords: gargantext, libre, fiable, transparent, intelligible, écosystème, décentralisé, cartographie, cartographie des connaissances, spatialisation des connaissances
---
$partial("templates/sections/section-hero.html")$
<main id="main">
<!-- SECTION Discover -->
<a name="discover"></a>
<section id="section-discover" class="panel panel-articles bg-garg-gradient-radial-light-blue">
<div class="container">
<div class="row align-items-center justify-content-around px-3">
<div class="col">
<h2 class=" section-title pb-3"><i class="fa fa-question-circle text-garg-gradient"
aria-hidden="true"></i> <span class="text-garg-gradient"> Discover GarganText</span></h2>
<div class="section-content">
<h3 class="my-5 pb-1 fs-4 border-bottom border-primary">Overview</h3>
<div class="row row-cols-1 row-cols-lg-2 g-4">
$for(discoverPresentation)$
$partial("templates/tile.html")$
$endfor$
</div>
<h3 class="my-5 pb-1 fs-4 border-bottom border-primary">Videos</h3>
<div class="row row-cols-1 row-cols-lg-2 g-4">
$for(discoverVideos)$
$partial("templates/tile.html")$
$endfor$
</div>
</div>
</div>
</div>
</section>
<!-- /SECTION Discover -->
<!-- SECTION Learn -->
<a name="learn"></a>
<section id="section-learn" class="panel panel-articles bg-garg-gradient-secondary-vertical">
<div class="container">
<div class="row align-items-center justify-content-around px-3">
<div class="col">
<h2 class=" section-title pb-3"><i class="fa fa-graduation-cap text-garg-gradient"
aria-hidden="true"></i> <span class="text-garg-gradient"> Se former à GarganText</span></h2>
<div class="section-content">
<h3 class="my-5 pb-1 fs-4 border-bottom border-primary">Formations</h3>
<div class="row row-cols-1 row-cols-lg-2 g-4">
$for(learnFormations)$
$partial("templates/tile.html")$
$endfor$
</div>
<h3 class="my-5 pb-1 fs-4 border-bottom border-primary">Forum et documentation utilisateur</h3>
<div class="row row-cols-1 row-cols-lg-2 g-4">
$for(learnDocumentation)$
$partial("templates/tile.html")$
$endfor$
</div>
<h3 class="my-5 pb-1 fs-4 border-bottom border-primary">Outils</h3>
<div class="row row-cols-1 row-cols-lg-2 g-4">
$for(learnTools)$
$partial("templates/tile.html")$
$endfor$
</div>
</div>
</div>
</div>
</div>
</section>
<!-- /SECTION Learn -->
<!-- SECTION Connect -->
<a name="connect"></a>
<section id="section-connect" class="panel">
<div class="container">
<div class="row align-items-center justify-content-around px-3">
<h2 class="section-title pb-3"><i class="fa icon-ecosystem text-garg-gradient" aria-hidden="true"></i>
<span class="text-garg-gradient"> Se connecter aux serveurs GarganText</span></h2>
<div class="section-content">
<p>Pour participer à l’écosystème GarganText : connectez-vous à l’une des communautés disponibles.
</p>
<div class="my-4 fw-bold fs-5 border-bottom border-dark"><i class="fa fa-server "
aria-hidden="true"></i> Choisissez parmi les serveurs thématiques :</div>
<div class="row row-cols-1 row-cols-lg-3 g-4 justify-content-center">
$for(servers)$
$partial("templates/tile-server.html")$
$endfor$
</div>
</div>
<div class="alert alert-light col col-lg-10 mx-auto my-5 p-4 text-center border border-secondary">
<span class="alert-heading fw-bold">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-info fa-stack-1x fa-inverse"></i>
</span>
Don't have access yet?
</span>
<a href="https://iscpif.fr/apply-for-a-services-account/?lang=en" target="_blank"
class="btn btn-primary d-inline-block mx-3">Contact us <i class="fa fa-external-link "
aria-hidden="true"></i></a>.
</div>
</div>
</div>
</section>
<!-- /SECTION Connect -->
</main>
\ No newline at end of file
---
header: Public show room
title: demo.gargantext.org
text: Demo.
url: https://demo.gargantext.org
image:
---
\ No newline at end of file
---
header: Training
title: formation.gargantext.org
text: "Education."
url: https://formation.gargantext.org
image: images/server-logo-graduate-hat.png
---
\ No newline at end of file
---
header: Academia
title: academia.sub.gargantext.org
text: Academia.
url: https://academia.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: CNRS
title: cnrs.gargantext.org
text: Organization.
url: https://cnrs.gargantext.org
image: images/server-logo-cnrs.svg
---
\ No newline at end of file
---
header: Mines Telecom Institute
title: imt.sub.gargantext.org
text: Organization.
url: https://imt.sub.gargantext.org
image: images/server-logo-imt.png
---
\ No newline at end of file
---
header: Hello Word Company
title: helloword.gargantext.org
text: Organization.
url: https://helloword.gargantext.org
image:
---
\ No newline at end of file
---
header: Complex Systems
title: complexsystems.gargantext.org
text: Community.
url: https://complexsystems.gargantext.org
image: images/logo-iscpif.png
---
\ No newline at end of file
---
header: European projects
title: europa.gargantext.org
text: Networking.
url: https://europa.gargantext.org
image: images/server-logo-europe.svg
---
\ No newline at end of file
---
header: Earth
title: earth.sub.gargantext.org
text: Community.
url: https://demo.gargantext.org
image:
---
\ No newline at end of file
---
header: Health
title: health.sub.gargantext.org
text: Community.
url: https://health.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: MSH
title: msh.sub.gargantext.org
text: Community.
url: https://msh.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: Main sandbox (dev)
title: dev.sub.gargantext.org
text: Development.
url: https://dev.sub.gargantext.org
image: images/server-logo-sandbox.png
---
\ No newline at end of file
---
header: Offline bunker
title: local dev environment (localhost)
text: Private.
url: https://gitlab.iscpif.fr/gargantext/haskell-gargantext#gargantext-with-haskell-backend-instance
url_text: How to install GarganText
image: images/server-logo-terminal.png
---
\ No newline at end of file
---
title: GarganText - The project
description: Page projet sur le site de l'Institut des systèmes complexes de Paris-&Icirc;le-France.
url: https://iscpif.fr/projects/gargantext/
image: images/preview-project-iscpif.png
---
\ No newline at end of file
---
title: Présentation de la roadmap de GarganText
description: Demande de participation pour la présentation du 24 septembre 2024 — 10h
url: https://iscpif.fr/gargantext/roadmap2024/
image: images/preview-roadmap-2024.png
---
\ No newline at end of file
---
title: GarganText - Text analytics software from ISC-PIF CNRS
description: Présentation de GarganText, contexte, liens utiles.
url: https://iscpif.fr/gargantext/
image: images/preview-project-description.png
---
\ No newline at end of file
---
title: Exemples de cartes GarganText
description: Explorez différents types de cartes réalisées à partir de GarganText
url: https://iscpif.fr/gargantext/carte/
image: images/preview-maps.png
---
\ No newline at end of file
---
title:
<svg width="24" height="24" class="tanuki-logo" viewBox="0 0 36 36">
<path class="tanuki-shape tanuki-left-ear" fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>
<path class="tanuki-shape tanuki-right-ear" fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>
<path class="tanuki-shape tanuki-nose" fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>
<path class="tanuki-shape tanuki-left-eye" fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>
<path class="tanuki-shape tanuki-right-eye" fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>
<path class="tanuki-shape tanuki-left-cheek" fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>
<path class="tanuki-shape tanuki-right-cheek" fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>
</svg> Code source - GitLab
description: GarganText Main - Informations et dépôts.
url: https://gitlab.iscpif.fr/gargantext/main
image: images/preview-gitlab-main.png
---
\ No newline at end of file
---
title: Cartographier la connaissance - Canal U
description: Action nationale de formation du CNRS (ANF TDM 2023) sur l'exploration documentaire et l'extraction d’informations.
url: https://doi.org/10.60527/704s-7c60
image: images/preview-canal-u-gargantext.png
---
\ No newline at end of file
---
title: Suivre l'évolution de la connaissance - Canal U
description: Action nationale de formation du CNRS (ANF TDM 2023) sur l'exploration documentaire et l'extraction d’informations. Suivre l'évolution de la connaissance grâce à la cartographie temporelle (phylomémies).
url: https://doi.org/10.60527/6qdn-sb19
image: images/preview-canal-u-phylomemies.png
---
\ No newline at end of file
---
title: "GarganText : la cartographie des connaissances pour tous - MATE-SHS"
description: Présentation aux Tuto@Mate 2020-2021 sur le site MATE-SHS.
url: https://mate-shs.cnrs.fr/actions/tutomate/tuto30-gargantext-delanoe/
image: images/preview-mate-shs.png
---
\ No newline at end of file
---
title: "GarganText : La fouille de données textuelles avec GarganText"
description: "La Science Ouverte : une révolution nécessaire - WebCast IN2P3. Présentation de Gargantext à la journée pour la science ouverte"
url: https://webcast.in2p3.fr/video/accelerer-la-recherche-transformer-les-pratiques-ouvrir-de-nouveaux-horizons-la-fouille-de-donnees-textuelles-avec-gargantext
image: images/preview-video-in2p3.png
---
\ No newline at end of file
---
title: Forum GarganText - Discourse
description: Le forum consacré aux utilisateurs de GarganText, retours, suggestions.
url: https://discourse.iscpif.fr/c/gargantext
image: images/preview-discourse.png
---
\ No newline at end of file
---
title: Documentation GarganText
description: Documentation technique de la version 007 White Kefir.
url: https://write.frame.gargantext.org/s/649a6d7e1db3b365d6d0b1430d9700cc0bb4fdb1348dd1040a94c95f98979abe
image: images/preview-documentation.png
---
\ No newline at end of file
---
title: Inscriptions aux formations GarganText - ISCPIF
description: Page d'nscription à la prochaine formation d'initiation ou avancée de GarganText.
url: https://iscpif.fr/gargantext/formation/
image: images/preview-formation-inscription.png
---
\ No newline at end of file
---
title: Formation - Réseau URFIST
description: Analyse sémantique et cartographie de corpus textuels à travers GarganText.
url: https://sygefor.reseau-urfist.fr/#/training/10498/12749?from=true
image: images/preview-formation-urfist.png
---
\ No newline at end of file
---
title: Gargantools, outils développés par et pour les utilisateurs de GarganText
description: Aide pour transformer des données et faciliter une création de corpus dans un format adapté à GarganText
url: https://gargtools.iscpif.fr
image: images/preview-gargtools.png
---
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
---
header: Public show room
title: demo.gargantext.org
text: Démo.
url: https://demo.gargantext.org
image:
---
\ No newline at end of file
---
header: Training / formation
title: formation.gargantext.org
text: "&Eacute;ducation."
url: https://formation.gargantext.org
image: images/server-logo-graduate-hat.png
---
\ No newline at end of file
---
header: Academia
title: academia.sub.gargantext.org
text: Academia.
url: https://academia.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: CNRS
title: cnrs.gargantext.org
text: Organisation.
url: https://cnrs.gargantext.org
image: images/server-logo-cnrs.svg
---
\ No newline at end of file
---
header: Mines Telecom Institute
title: imt.sub.gargantext.org
text: Organisation.
url: https://imt.sub.gargantext.org
image: images/server-logo-imt.png
---
\ No newline at end of file
---
header: Hello Word Company
title: helloword.gargantext.org
text: Organisation.
url: https://helloword.gargantext.org
image:
---
\ No newline at end of file
---
header: Complex Systems
title: complexsystems.gargantext.org
text: Communauté.
url: https://complexsystems.gargantext.org
image: images/logo-iscpif.png
---
\ No newline at end of file
---
header: European projects
title: europa.gargantext.org
text: Networking.
url: https://europa.gargantext.org
image: images/server-logo-europe.svg
---
\ No newline at end of file
---
header: Earth
title: earth.sub.gargantext.org
text: Communauté.
url: https://demo.gargantext.org
image:
---
\ No newline at end of file
---
header: Health
title: health.sub.gargantext.org
text: Communauté.
url: https://health.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: MSH
title: msh.sub.gargantext.org
text: Communauté.
url: https://msh.sub.gargantext.org
image:
---
\ No newline at end of file
---
header: Main sandbox (dev)
title: dev.sub.gargantext.org
text: Développement.
url: https://dev.sub.gargantext.org
image: images/server-logo-sandbox.png
---
\ No newline at end of file
---
header: Offline bunker
title: local dev environment (localhost)
text: Privé.
url: https://gitlab.iscpif.fr/gargantext/haskell-gargantext#gargantext-with-haskell-backend-instance
url_text: Comment installer GarganText
image: images/server-logo-terminal.png
---
\ No newline at end of file
---
#
# Translations for the French language.
# It has higher precedence than the one in the templates directory
#
# /!\ This file must exist /!\
#
translation:
# Global
SITE_TITLE : "GarganText - écosystème numérique décentralisé libre, fiable, transparent et intelligible"
# Header / Navigation
NAV_DISCOVER : "Découvrir"
NAV_LEARN : "Se former"
NAV_CONNECT : "Se connecter"
NAV_SOURCE_CODE : "Code source"
# Footer
NAV_LEGAL_INFO : "Mentions légales"
\ No newline at end of file
This diff is collapsed.
......@@ -8,7 +8,10 @@ executable site
build-depends: base == 4.*
, hakyll == 4.16.*
, hakyll-contrib-i18n ^>= 0.1.1.1
, filepath
, network-uri
, split
, text
, time
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$language$" lang="$language$">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
......
......@@ -19,16 +19,16 @@
<a class="nav-link text-dark" href="#discover">$translate("NAV_DISCOVER")$</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="#learn">Se former</a>
<a class="nav-link text-dark" href="#learn">$translate("NAV_LEARN")$</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" aria-current="page" href="#connect">Se connecter</a>
<a class="nav-link text-dark" aria-current="page" href="#connect">$translate("NAV_CONNECT")$</a>
</li>
<li class="nav-item small mx-3">
<a class="nav-link bg-light" href="https://gitlab.iscpif.fr/gargantext/main" target="_blank" title="Code source de GarganText sur Gitlab"><i class="fa fa-git-square fa-lg" aria-hidden="true"></i> Code source <sup><i class="fa fa-external-link" aria-hidden="true"></i></sup></a>
<li class="nav-item mx-3">
<a class="nav-link nav-link-code bg-light small" href="https://gitlab.iscpif.fr/gargantext/main" target="_blank" title="Code source de GarganText sur Gitlab"><i class="fa fa-git-square fa-lg" aria-hidden="true"></i> $translate("NAV_SOURCE_CODE")$ <sup><i class="fa fa-external-link" aria-hidden="true"></i></sup></a>
</li>
<li class="nav-item ms-lg-5 d-flex ">
<a class="nav-link" aria-current="page" href="/en" title="English">🇬🇧</a><span class="px-1 small">|</span><a class="nav-link" aria-current="page" href="/fr">🇨🇵</a>
<li class="nav-item d-flex ">
$translate("NAV_LANG_LINK")$
</li>
</ul>
</div>
......
<!-- ======= Hero Section ======= -->
<section id="hero" class="panel d-flex align-items-center position-relative bg-garg-map-petit-prince">
<div class="excerpt-petit-prince pt-serif-regular-italic text-garg-gradient-white slide-up">
$translate("BG_TEXT")$
</div>
<ul class="circles">
<li>g</li>
<li>a</li>
<li>r</li>
<li>g</li>
<li>a</li>
<li>n</li>
<li>t</li>
<li>e</li>
<li>x</li>
<li>t</li>
</ul>
<div class="container position-relative py-5 mt-5">
<div class="">
<div class="col mx-auto text-center align-items-center text-white">
<div class="hero-logo-wrapper position-relative m-auto">
<img src="/images/logo.svg" alt="$title$" width="160" alt="GarganText">
<ul class="logos-small position-absolute list-unstyled m-0">
<li class=""><img src="/images/logo-cnrs-white.png" title="CNRS - Centre national de la recherche scientifique" alt="CNRS - Centre national de la recherche scientifique" class="logo logo-cnrs" width="45"></li>
<li class="pt-2"><img src="/images/logo-iscpif.png" title="ISCPIF - Institut des systèmes complexes Paris Ile-de-France" alt="ISCPIF - Institut des systèmes complexes Paris Ile-de-France" class="logo logo-iscpif" width="40"></li>
</ul>
</div>
<h1 class="text-white py-4">
$translate("LINE_1")$
<br class="d-none d-lg-block">$translate("LINE_2")$
</h1>
<ul class="list-unstyled text-white mb-4 mb-lg-5">
<li class=""><h2 class="text-white fs-1 pb-3">$translate("LINE_3")$</h2></li>
<li class=""><h4 class="text-white">$translate("LINE_4")$</h4></li>
<li class=""><h4 class="text-white">$translate("LINE_5")$</h4></li>
</ul>
<ul class="hero-links list-inline text-white">
<li class="list-inline-item m-1">
<a href="#discover" class="btn btn-lg btn-garg text-light shadow border border-white rounded-0 py-4">
<div class="btn-content">
<div class="mb-1"><i class="fa fa-question-circle fa-2x" aria-hidden="true"></i></div>
<div class="fw-bold fs-5">$translate("NAV_DISCOVER")$</div>
</div>
<div class="bg-garg-gradient-mix pt-1"></div>
</a>
</li>
<li class="list-inline-item m-1">
<a href="#learn" class="btn btn-lg btn-garg text-light shadow border border-white rounded-0 py-4">
<div class="btn-content">
<div class="mb-1"><i class="fa fa-graduation-cap fa-2x" aria-hidden="true"></i></div>
<div class="fw-bold fs-5">$translate("NAV_LEARN")$</div>
</div>
<div class="bg-garg-gradient-mix pt-1"></div>
</a>
</li>
<li class="list-inline-item m-1">
<a href="#connect" class="btn btn-lg btn-garg text-light shadow border border-white rounded-0 py-4">
<div class="btn-content">
<div class="mb-1">
<i class="fa icon-ecosystem fa-2x" aria-hidden="true"></i>
</div>
<div class="fw-bold fs-5">$translate("NAV_CONNECT")$</div>
</div>
<div class="bg-garg-gradient-mix pt-1"></div>
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- ======= End Hero Section ======= -->
<div class="col">
<div class="card shadow">
$if(header)$<div class="card-header text-uppercase text-primary">$header$</div>$endif$
<div class="card-body $if(image)$ card-with-logo $endif$">
$if(image)$<img src="/$image$" class="position-absolute start-0 ms-3" width="50" alt="">$endif$
$if(title)$<h6 class="card-title">$title$</h6>$endif$
$if(text)$<p class="card-text">$text$</p>$endif$
$if(url)$
<a href="$url$" target="_blank" class="btn btn-primary w-100">
$if(url_text)$
$url_text$
$else$
$translate("NAV_CONNECT")$
$endif$
</a>
$endif$
</div>
</div>
</div>
......@@ -3,15 +3,15 @@
<div class="row g-0">
$if(image)$
<div class="img-wrapper col-md-5">
<img src="$image$" class="img-fluid rounded-start" alt="...">
<img src="/$image$" class="img-fluid rounded-start" alt="...">
</div>
$endif$
<div class="col-md-7">
<div class="card-body pt-0">
<h5 class="card-title">$title$</h5>
<p class="card-text">$description$</p>
<p class="card-text"><small class="text-muted">$domain_url$ <i class="fa fa-external-link " aria-hidden="true"></i></small></p>
<a href="$url$" target="_blank" class="btn btn-primary">Voir <i class="fa fa-external-link " aria-hidden="true"></i></a>
$if(title)$<h5 class="card-title">$title$</h5>$endif$
$if(description)$<p class="card-text">$description$</p>$endif$
$if(domain_url)$<p class="card-text"><small class="text-muted">$domain_url$ <i class="fa fa-external-link " aria-hidden="true"></i></small></p>$endif$
$if(url)$<a href="$url$" target="_blank" class="btn btn-primary">$translate("SEE_MORE")$ <i class="fa fa-external-link " aria-hidden="true"></i></a>$endif$
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment