feat(i18n): add Vietnamese language support (#2670)

This commit is contained in:
0xsysr3ll
2026-03-12 11:59:56 +01:00
committed by GitHub
parent b1adc79c75
commit 40edaea43f
4 changed files with 9 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ const TMDB_TO_TVDB_MAPPING: Record<string, string> & {
sv: 'swe', // Swedish
tr: 'tur', // Turkish
uk: 'ukr', // Ukrainian
vi: 'vie', // Vietnamese
'es-MX': 'spa', // Spanish (Latin America) -> Spanish
'nb-NO': 'nor', // Norwegian Bokmål -> Norwegian

View File

@@ -32,4 +32,5 @@ export type AvailableLocale =
| 'tr'
| 'uk'
| 'zh-CN'
| 'zh-TW';
| 'zh-TW'
| 'vi';

View File

@@ -135,6 +135,10 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'uk',
display: 'українська мова',
},
vi: {
code: 'vi',
display: 'Tiếng Việt',
},
'zh-TW': {
code: 'zh-TW',
display: '繁體中文',

View File

@@ -91,6 +91,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/tr.json');
case 'uk':
return import('../i18n/locale/uk.json');
case 'vi':
return import('../i18n/locale/vi.json');
case 'zh-CN':
return import('../i18n/locale/zh_Hans.json');
case 'zh-TW':