Skip to content

High performance self-hosted photo and video management solution.

feat: latest language requests (#28858)

Daniel Dietzlerb6938614b262
diff --git a/i18n/bs.json b/i18n/bs.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/bs.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/kab.json b/i18n/kab.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/kab.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/kxm.json b/i18n/kxm.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/kxm.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/lmo.json b/i18n/lmo.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/lmo.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/mi.json b/i18n/mi.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/mi.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/ne.json b/i18n/ne.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/ne.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/sw.json b/i18n/sw.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/sw.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/swg.json b/i18n/swg.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/swg.json
@@ -0,0 +1 @@
+{}
diff --git a/i18n/tl.json b/i18n/tl.json
new file mode 100644
index 0000000000..0967ef424b
--- /dev/null
+++ b/i18n/tl.json
@@ -0,0 +1 @@
+{}
diff --git a/mobile/lib/constants/locales.dart b/mobile/lib/constants/locales.dart
index f44aa5cc3e..f3b68c9baf 100644
--- a/mobile/lib/constants/locales.dart
+++ b/mobile/lib/constants/locales.dart
@@ -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'),
diff --git a/web/src/lib/utils/i18n.ts b/web/src/lib/utils/i18n.ts
index 458d1762ae..9207c5f557 100644
--- a/web/src/lib/utils/i18n.ts
+++ b/web/src/lib/utils/i18n.ts
@@ -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) =>