Add translations and support for fr
This commit is contained in:
parent
dd97a04af1
commit
9f48eb6245
3 changed files with 93 additions and 6 deletions
36
i18n/de.toml
Normal file
36
i18n/de.toml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Translations for English
|
||||||
|
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||||
|
|
||||||
|
# Generic
|
||||||
|
#
|
||||||
|
[translations]
|
||||||
|
other = "Übersetzungen"
|
||||||
|
|
||||||
|
[postAvailable]
|
||||||
|
other = "Auch verfügbar auf"
|
||||||
|
|
||||||
|
|
||||||
|
# 404.html
|
||||||
|
#
|
||||||
|
[archives]
|
||||||
|
other = "Archiv"
|
||||||
|
|
||||||
|
[home]
|
||||||
|
other = "Home"
|
||||||
|
|
||||||
|
[notFound]
|
||||||
|
other = "Oops, Seite nicht gefunden ..."
|
||||||
|
|
||||||
|
|
||||||
|
# posts/single.html
|
||||||
|
#
|
||||||
|
[readingTime]
|
||||||
|
one = "Eine Minute"
|
||||||
|
other = "{{ .Count }} Minuten"
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
other = "Inhaltsverzeichnis"
|
||||||
|
|
||||||
|
[wordCount]
|
||||||
|
one = "Ein Wort"
|
||||||
|
other = "{{ .Count }} Wörter"
|
27
i18n/en.toml
27
i18n/en.toml
|
@ -1,21 +1,36 @@
|
||||||
# Translations for English
|
# Translations for English
|
||||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||||
|
|
||||||
|
# Generic
|
||||||
|
#
|
||||||
|
[translations]
|
||||||
|
other = "Translations"
|
||||||
|
|
||||||
|
[postAvailable]
|
||||||
|
other = "Also available in"
|
||||||
|
|
||||||
|
|
||||||
# 404.html
|
# 404.html
|
||||||
#
|
#
|
||||||
[notFound]
|
[archives]
|
||||||
other = "Oops, page not found…"
|
other = "Archives"
|
||||||
|
|
||||||
[home]
|
[home]
|
||||||
other = "Home"
|
other = "Home"
|
||||||
|
|
||||||
[archives]
|
[notFound]
|
||||||
other = "Archives"
|
other = "Oops, page not found…"
|
||||||
|
|
||||||
|
|
||||||
# posts/single.html
|
# posts/single.html
|
||||||
#
|
#
|
||||||
[wordCount]
|
[readingTime]
|
||||||
other = "{{ .WordCount }} Words"
|
one = "One minute"
|
||||||
|
other = "{{ .Count }} minutes"
|
||||||
|
|
||||||
[tableOfContents]
|
[tableOfContents]
|
||||||
other = "Table of Contents"
|
other = "Table of Contents"
|
||||||
|
|
||||||
|
[wordCount]
|
||||||
|
one = "One Word"
|
||||||
|
other = "{{ .Count }} Words"
|
||||||
|
|
36
i18n/fr.toml
Normal file
36
i18n/fr.toml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Translations for France
|
||||||
|
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||||
|
|
||||||
|
# Generic
|
||||||
|
#
|
||||||
|
[translations]
|
||||||
|
other = "Traductions"
|
||||||
|
|
||||||
|
[postAvailable]
|
||||||
|
other = "Aussi disponible en"
|
||||||
|
|
||||||
|
|
||||||
|
# 404.html
|
||||||
|
#
|
||||||
|
[archives]
|
||||||
|
other = "Les archives"
|
||||||
|
|
||||||
|
[home]
|
||||||
|
other = "Accueil"
|
||||||
|
|
||||||
|
[notFound]
|
||||||
|
other = "Oups, page non trouvée …"
|
||||||
|
|
||||||
|
|
||||||
|
# posts/single.html
|
||||||
|
#
|
||||||
|
[readingTime]
|
||||||
|
one = "Une minute"
|
||||||
|
other = "{{ .Count }} minutes"
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
other = "Table des matières"
|
||||||
|
|
||||||
|
[wordCount]
|
||||||
|
one = "Une Mot"
|
||||||
|
other = "{{ .Count }} Mots"
|
Loading…
Add table
Add a link
Reference in a new issue