Skip to content

Commit 077224b

Browse files
authored
✨ feat: Add support for Armenian, Latvian, and Uyghur languages (#8227)
1 parent 9c70d1d commit 077224b

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

client/src/components/Nav/SettingsTabs/General/General.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export const LangSelector = ({
8686
{ value: 'fr-FR', label: localize('com_nav_lang_french') },
8787
{ value: 'he-HE', label: localize('com_nav_lang_hebrew') },
8888
{ value: 'hu-HU', label: localize('com_nav_lang_hungarian') },
89+
{ value: 'hy-AM', label: localize('com_nav_lang_armenian') },
8990
{ value: 'it-IT', label: localize('com_nav_lang_italian') },
9091
{ value: 'pl-PL', label: localize('com_nav_lang_polish') },
9192
{ value: 'pt-BR', label: localize('com_nav_lang_brazilian_portuguese') },
@@ -96,9 +97,11 @@ export const LangSelector = ({
9697
{ value: 'cs-CZ', label: localize('com_nav_lang_czech') },
9798
{ value: 'sv-SE', label: localize('com_nav_lang_swedish') },
9899
{ value: 'ko-KR', label: localize('com_nav_lang_korean') },
100+
{ value: 'lv-LV', label: localize('com_nav_lang_latvian') },
99101
{ value: 'vi-VN', label: localize('com_nav_lang_vietnamese') },
100102
{ value: 'th-TH', label: localize('com_nav_lang_thai') },
101103
{ value: 'tr-TR', label: localize('com_nav_lang_turkish') },
104+
{ value: 'ug', label: localize('com_nav_lang_uyghur') },
102105
{ value: 'nl-NL', label: localize('com_nav_lang_dutch') },
103106
{ value: 'id-ID', label: localize('com_nav_lang_indonesia') },
104107
{ value: 'fi-FI', label: localize('com_nav_lang_finnish') },

client/src/locales/en/translation.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@
434434
"com_nav_lang_traditional_chinese": "繁體中文",
435435
"com_nav_lang_turkish": "Türkçe",
436436
"com_nav_lang_vietnamese": "Tiếng Việt",
437+
"com_nav_lang_armenian": "Հայերեն",
438+
"com_nav_lang_latvian": "Latviski",
439+
"com_nav_lang_uyghur": "Uyƣur tili",
437440
"com_nav_language": "Language",
438441
"com_nav_latex_parsing": "Parsing LaTeX in messages (may affect performance)",
439442
"com_nav_log_out": "Log out",
@@ -1072,4 +1075,4 @@
10721075
"com_ui_yes": "Yes",
10731076
"com_ui_zoom": "Zoom",
10741077
"com_user_message": "You"
1075-
}
1078+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

client/src/locales/i18n.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ import translationJa from './ja/translation.json';
2222
import translationKa from './ka/translation.json';
2323
import translationSv from './sv/translation.json';
2424
import translationKo from './ko/translation.json';
25+
import translationLv from './lv/translation.json';
2526
import translationTh from './th/translation.json';
2627
import translationTr from './tr/translation.json';
28+
import translationUg from './ug/translation.json';
2729
import translationVi from './vi/translation.json';
2830
import translationNl from './nl/translation.json';
2931
import translationId from './id/translation.json';
3032
import translationHe from './he/translation.json';
3133
import translationHu from './hu/translation.json';
34+
import translationHy from './hy/translation.json';
3235
import translationFi from './fi/translation.json';
3336
import translationZh_Hans from './zh-Hans/translation.json';
3437
import translationZh_Hant from './zh-Hant/translation.json';
@@ -57,13 +60,16 @@ export const resources = {
5760
ka: { translation: translationKa },
5861
sv: { translation: translationSv },
5962
ko: { translation: translationKo },
63+
lv: { translation: translationLv },
6064
th: { translation: translationTh },
6165
tr: { translation: translationTr },
66+
ug: { translation: translationUg },
6267
vi: { translation: translationVi },
6368
nl: { translation: translationNl },
6469
id: { translation: translationId },
6570
he: { translation: translationHe },
6671
hu: { translation: translationHu },
72+
hy: { translation: translationHy },
6773
fi: { translation: translationFi },
6874
} as const;
6975

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)