Commit 9d80ef00 authored by Daniel Brötzmann's avatar Daniel Brötzmann

Change i18n directory structure to one directory per locale

parent dc7bd9b3
Pipeline #4189 passed with stages
in 6 seconds
......@@ -31,6 +31,10 @@ To work locally, follow the steps below:
3. Preview Gajim's website locally: `hugo server`
4. Add or modify content
If you want to modify files in the `content` directory, please change files in
the `en` directory only. Content for other languages will be generated from our
translation service at [translate.gajim.org](https://translate.gajim.org/).
Read more at Hugo's [documentation](https://gohugo.io/overview/introduction/).
### Preview your site
......
......@@ -59,8 +59,9 @@ pygmentCodeFences = true
# English - main language
[languages]
[languages.en]
weight = 0
contentDir = "content/en"
languageName = "English"
weight = 0
[[languages.en.menu.main]]
name = "News"
url = "post/"
......@@ -84,8 +85,9 @@ pygmentCodeFences = true
# German
[languages.de]
weight = 1
contentDir = "content/de"
languageName = "Deutsch"
weight = 0
[languages.de.params]
subtitle = "Ein vollwertiger XMPP-Client"
[[languages.de.menu.main]]
......@@ -111,8 +113,9 @@ pygmentCodeFences = true
# French
[languages.fr]
weight = 1
contentDir = "content/fr"
languageName = "Français"
weight = 0
[languages.fr.params]
subtitle = "Client XMPP complet"
[[languages.fr.menu.main]]
......
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