From 1c46b794ea06c7c202a386f969510f47e81801af Mon Sep 17 00:00:00 2001 From: DevMirza Date: Sat, 18 May 2024 14:41:13 +0000 Subject: [PATCH] Again add locales and country code --- src/client/i18next-toolkit.config.cjs | 2 +- src/client/utils/constants.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/i18next-toolkit.config.cjs b/src/client/i18next-toolkit.config.cjs index bf758f4..bec439c 100644 --- a/src/client/i18next-toolkit.config.cjs +++ b/src/client/i18next-toolkit.config.cjs @@ -1,6 +1,6 @@ /** @type {import('@i18next-toolkit/cli').I18nextToolkitConfig} */ const config = { - locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru'], + locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru', 'ur'], verbose: true, namespaces: ['translation'], translator: { diff --git a/src/client/utils/constants.ts b/src/client/utils/constants.ts index 365dbdc..1b5c5ef 100644 --- a/src/client/utils/constants.ts +++ b/src/client/utils/constants.ts @@ -32,4 +32,8 @@ export const languages = [ label: '简体中文', key: 'zh', }, + { + label: 'Urdu', + key: 'ur', + }, ];