From 90800e539d9a7468e83e2b2251477af18416066a Mon Sep 17 00:00:00 2001 From: ajnart Date: Wed, 1 Nov 2023 23:10:28 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8C=90=20Add=20Czech?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next-i18next.config.js | 26 +++++++++++++------------- src/tools/language.ts | 8 ++++++++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/next-i18next.config.js b/next-i18next.config.js index 25846a4dd..0fab2457f 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -5,34 +5,34 @@ module.exports = { i18n: { defaultLocale: 'en', locales: [ - 'en', + 'cn', 'cr', + 'cs', 'da', - 'he', 'de', + 'el', + 'en', 'es', 'fr', + 'he', + 'hr', + 'hu', 'it', 'ja', 'ko', + 'lv', 'nl', + 'no', 'pl', 'pt', 'ru', + 'sk', 'sl', 'sv', - 'vi', - 'uk', - 'zh', - 'tw', - 'cn', - 'el', - 'sk', - 'no', 'tr', - 'lv', - 'hr', - 'hu' + 'tw', + 'uk', + 'vi', ], localeDetection: false, diff --git a/src/tools/language.ts b/src/tools/language.ts index c1e75acf7..7870e6127 100644 --- a/src/tools/language.ts +++ b/src/tools/language.ts @@ -203,6 +203,14 @@ export const languages = [ country: 'HU', locale: 'hu', }, + // Cezch + { + shortName: 'cs', + originalName: 'Čeština', + translatedName: 'Czech', + country: 'CZ', + locale: 'cs', + }, // Crowdin Live translate { shortName: 'cr', From 6ca364dc956a4f5b4653c1f5cc807f40729306fd Mon Sep 17 00:00:00 2001 From: ajnart Date: Wed, 1 Nov 2023 23:10:47 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20Update=20`crowdin.yml`=20con?= =?UTF-8?q?fig=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crowdin.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crowdin.yml b/crowdin.yml index 4b00c6c40..c55eb4eff 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,5 @@ +project_id: "534422" +api_token_env: "CROWDIN_PERSONAL_TOKEN" files: - source: /public/locales/en/**/*.json translation: /public/locales/%two_letters_code%/**/%original_file_name%