mirror of
https://github.com/immich-app/immich.git
synced 2026-06-27 22:35:57 +00:00
feat: latest language requests (#28858)
This commit is contained in:
1
i18n/bs.json
Normal file
1
i18n/bs.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/kab.json
Normal file
1
i18n/kab.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/kxm.json
Normal file
1
i18n/kxm.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/lmo.json
Normal file
1
i18n/lmo.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/mi.json
Normal file
1
i18n/mi.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/ne.json
Normal file
1
i18n/ne.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/sw.json
Normal file
1
i18n/sw.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/swg.json
Normal file
1
i18n/swg.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
i18n/tl.json
Normal file
1
i18n/tl.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -5,6 +5,8 @@ const Map<String, Locale> locales = {
|
||||
'English (en)': Locale('en'),
|
||||
// Additional locales
|
||||
'Arabic (ar)': Locale('ar'),
|
||||
'Bosnian (bl)': Locale('bn'),
|
||||
'Brazilian Portuguese (pt_BR)': Locale('pt', 'BR'),
|
||||
'Bulgarian (bg)': Locale('bg'),
|
||||
'Catalan (ca)': Locale('ca'),
|
||||
'Chinese Simplified (zh_CN)': Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hans'),
|
||||
@@ -14,6 +16,7 @@ const Map<String, Locale> locales = {
|
||||
'Danish (da)': Locale('da'),
|
||||
'Dutch (nl)': Locale('nl'),
|
||||
'Estonian (et)': Locale('et'),
|
||||
'Filipino (tl)': Locale('tl'),
|
||||
'Finnish (fi)': Locale('fi'),
|
||||
'French (fr)': Locale('fr'),
|
||||
'Galician (gl)': Locale('gl'),
|
||||
@@ -25,13 +28,17 @@ const Map<String, Locale> locales = {
|
||||
'Indonesian (id)': Locale('id'),
|
||||
'Italian (it)': Locale('it'),
|
||||
'Japanese (ja)': Locale('ja'),
|
||||
'Kabyle (kab)': Locale('kab'),
|
||||
'Khmer (Northern) (kxm)': Locale('kxm'),
|
||||
'Korean (ko)': Locale('ko'),
|
||||
'Latvian (lv)': Locale('lv'),
|
||||
'Lithuanian (lt)': Locale('lt'),
|
||||
'Lombard (lmo)': Locale('lmo'),
|
||||
'Mongolian (mn)': Locale('mn'),
|
||||
'Māori (mi)': Locale('mi'),
|
||||
'Nepali (ne)': Locale('ne'),
|
||||
'Norwegian Bokmål (nb_NO)': Locale('nb', 'NO'),
|
||||
'Polish (pl)': Locale('pl'),
|
||||
'Brazilian Portuguese (pt_BR)': Locale('pt', 'BR'),
|
||||
'Portuguese (pt)': Locale('pt'),
|
||||
'Romanian (ro)': Locale('ro'),
|
||||
'Russian (ru)': Locale('ru'),
|
||||
@@ -40,6 +47,8 @@ const Map<String, Locale> locales = {
|
||||
'Slovak (sk)': Locale('sk'),
|
||||
'Slovenian (sl)': Locale('sl'),
|
||||
'Spanish (es)': Locale('es'),
|
||||
'Swabian (swg)': Locale('swg'),
|
||||
'Swahili (sw)': Locale('sw'),
|
||||
'Swedish (sv)': Locale('sv'),
|
||||
'Tamil (ta)': Locale('ta'),
|
||||
'Telugu (te)': Locale('te'),
|
||||
|
||||
@@ -112,8 +112,10 @@ const capitalize = (string: string) =>
|
||||
.join(' ');
|
||||
|
||||
const nonIntlNames: Record<string, string> = {
|
||||
mfa: 'Malay (Pattani)',
|
||||
bi: 'Bislama',
|
||||
kxm: 'Khmer Surin',
|
||||
mfa: 'Malay (Pattani)',
|
||||
swg: 'Schwäbisch',
|
||||
};
|
||||
|
||||
const getLanguageName = (code: string) =>
|
||||
|
||||
Reference in New Issue
Block a user