translator: add translator target language of Persian, closes #2206 (#2212)

This commit is contained in:
Huang Xin
2025-10-12 19:53:23 +08:00
committed by GitHub
parent 3820950c7c
commit 92c1441922
2 changed files with 2 additions and 0 deletions
@@ -704,6 +704,7 @@ export const TRANSLATOR_LANGS: Record<string, string> = {
lt: 'Lietuvių',
sl: 'Slovenščina',
sk: 'Slovenčina',
fa: 'فارسی',
};
export const SUPPORTED_LANGS: Record<string, string> = { ...TRANSLATED_LANGS, zh: '中文' };
+1
View File
@@ -23,6 +23,7 @@ export const normalizeToFullLang = (langCode: string): string => {
ko: 'ko-KR',
pt: 'pt-PT',
ar: 'ar-SA',
fa: 'fa-IR',
nl: 'nl-NL',
pl: 'pl-PL',
tr: 'tr-TR',