Skip to content

Commit

Permalink
activated czech language support
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Apr 21, 2022
1 parent 95873f3 commit 568409e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion i18n.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"locales": ["en", "de", "es","fr","it","pt-BR"],
"locales": ["en", "cs", "de", "es","fr","it","pt-BR"],
"defaultLocale": "en",
"pages": {
"*": ["common","country","donate"],
Expand Down
2 changes: 1 addition & 1 deletion next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
// debug: true,
localeDetection: false,
defaultLocale: "en",
locales: ["en", "de", "it", "es", "fr", "pt-BR"],
locales: ["en", "cs", "de", "it", "es", "fr", "pt-BR"],
localePath: path.resolve('./public/locales')
},
};
4 changes: 4 additions & 0 deletions public/static/localeList.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"key":"en",
"value":"en_US"
},
{
"key":"cs",
"value":"cs_CZ"
},
{
"key":"de",
"value":"de_DE"
Expand Down
5 changes: 4 additions & 1 deletion supportedLanguages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"langCode": "en",
"languageName": "English"
},
{
"langCode": "cs",
"languageName": "čeština"
},
{
"langCode": "de",
"languageName": "Deutsch"
Expand All @@ -24,4 +28,3 @@
"languageName": "Português brasileiro"
}
]

0 comments on commit 568409e

Please sign in to comment.