Add translations and support for fr

This commit is contained in:
Djordje Atlialp 2019-02-02 20:58:44 +01:00
parent 9445da9e90
commit 050b696219
3 changed files with 93 additions and 6 deletions

36
i18n/de.toml Normal file
View 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"

View File

@ -1,21 +1,36 @@
# Translations for English
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "Translations"
[postAvailable]
other = "Also available in"
# 404.html
#
[notFound]
other = "Oops, page not found…"
[archives]
other = "Archives"
[home]
other = "Home"
[archives]
other = "Archives"
[notFound]
other = "Oops, page not found…"
# posts/single.html
#
[wordCount]
other = "{{ .WordCount }} Words"
[readingTime]
one = "One minute"
other = "{{ .Count }} minutes"
[tableOfContents]
other = "Table of Contents"
[wordCount]
one = "One Word"
other = "{{ .Count }} Words"

36
i18n/fr.toml Normal file
View 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"