Again add locales and country code

This commit is contained in:
DevMirza 2024-05-18 14:41:13 +00:00
parent 068821f2d2
commit 1c46b794ea
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/** @type {import('@i18next-toolkit/cli').I18nextToolkitConfig} */ /** @type {import('@i18next-toolkit/cli').I18nextToolkitConfig} */
const config = { const config = {
locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru'], locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru', 'ur'],
verbose: true, verbose: true,
namespaces: ['translation'], namespaces: ['translation'],
translator: { translator: {

View File

@ -32,4 +32,8 @@ export const languages = [
label: '简体中文', label: '简体中文',
key: 'zh', key: 'zh',
}, },
{
label: 'Urdu',
key: 'ur',
},
]; ];