1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-27 17:28:09 +02:00

chore(mobile): add new language locales (#15138)

chore(mobile): add new languages locale
This commit is contained in:
Alex 2025-01-07 09:30:52 -06:00 committed by GitHub
parent ff7a66a2c5
commit c937097db4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -96,3 +96,11 @@ download:
locale_code: he-IL
- file: mobile/assets/i18n/ro-RO.json
locale_code: ro-RO
- file: mobile/assets/i18n/id-ID.json
locale_code: id-ID
- file: mobile/assets/i18n/gl.json
locale_code: gl-ES
- file: mobile/assets/i18n/ga.json
locale_code: ga-IE
- file: mobile/assets/i18n/tr-TR.json
locale_code: tr-TR

View File

@ -15,12 +15,15 @@ const Map<String, Locale> locales = {
'Finnish (fi_FI)': Locale('fi', 'FI'),
'French (fr_CA)': Locale('fr', 'CA'),
'French (fr_FR)': Locale('fr', 'FR'),
'Galician (gl_ES)': Locale('gl', 'ES'),
'German (de_DE)': Locale('de', 'DE'),
'Greek (el_GR)': Locale('el', 'GR'),
'Hebrew (he_IL)': Locale('he', 'IL'),
'Hindi (hi_IN)': Locale('hi', 'IN'),
'Hungarian (hu_HU)': Locale('hu', 'HU'),
'Indonesian (id_ID)': Locale('id', 'ID'),
'Italian (it_IT)': Locale('it', 'IT'),
'Irish (ga_IE)': Locale('ga', 'IE'),
'Japanese (ja_JP)': Locale('ja', 'JP'),
'Korean (ko_KR)': Locale('ko', 'KR'),
'Latvian (lv_LV)': Locale('lv', 'LV'),
@ -43,6 +46,7 @@ const Map<String, Locale> locales = {
'Swedish (sv_FI)': Locale('sv', 'FI'),
'Swedish (sv_SE)': Locale('sv', 'SE'),
'Thai (th_TH)': Locale('th', 'TH'),
'Turkish (tr_TR)': Locale('tr', 'TR'),
'Ukrainian (uk_UA)': Locale('uk', 'UA'),
'Vietnamese (vi_VN)': Locale('vi', 'VN'),
};