Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German Translation #97

Merged
merged 3 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ languages:
bn:
languageName: বাংলা
weight: 3
de:
languageName: Deutsch
weight: 4

# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: fr
Expand Down
33 changes: 33 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# More documentation here: https://github.com/nicksnyder/go-i18n
[home]
other = "Home"

[posts]
other = "Beiträge"

[at]
other = "bei"

[resume]
other = "Mein Lebenslauf"

[navigation]
other = "Navigation"

[contact_me]
other = "Kontakt aufnehmen"

[newsletter_text]
other = "Mit dem Newsletter auf dem neuesten Stand bleiben"

[newsletter_input_placeholder]
other = "E-Mail-Adresse eingeben"

[newsletter_warning]
other = "Wir werden Ihre E-Mail-Adresse nicht an Dritte weitergeben."

[submit]
other = "Absenden"

[hugoAttributionText]
other = "Powered by"
3 changes: 3 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ other = "Home"
[posts]
other = "Posts"

[at]
other = "at"

[resume]
other = "My resume"

Expand Down
3 changes: 3 additions & 0 deletions i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ other = "Accueil"
[posts]
other = "Des postes"

[at]
other = "chez"

[resume]
other = "Mon Curriculum vitæ"

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/sections/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3 class="p-1">{{ site.Params.author.name }}</h3>
<h5 class="p-1">
{{ .designation }}
{{ if .company }}
at <a href="{{ .company.url }}">{{ .company.name }}</a>
{{ i18n "at"}} <a href="{{ .company.url }}">{{ .company.name }}</a>
{{ end }}
</h5>
{{ end }}
Expand Down