From 90800e539d9a7468e83e2b2251477af18416066a Mon Sep 17 00:00:00 2001 From: ajnart Date: Wed, 1 Nov 2023 23:10:28 +0100 Subject: [PATCH] =?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',