Add translations and support for fr
This commit is contained in:
parent
9445da9e90
commit
050b696219
|
@ -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
|
||||
# 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"
|
||||
|
|
|
@ -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…
Reference in New Issue