High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(mobile): adding additional languages (#3161)
Alex64697235d632
diff --git a/localizely.yml b/localizely.ymlindex c2b76f392c..a8b9c89db3 100644--- a/localizely.yml+++ b/localizely.yml@@ -12,37 +12,65 @@ download:files:- file: mobile/assets/i18n/en-US.jsonlocale_code: en-US- - file: mobile/assets/i18n/da-DK.json- locale_code: da-DK- file: mobile/assets/i18n/de-DE.jsonlocale_code: de-DE- - file: mobile/assets/i18n/fr-FR.json- locale_code: fr-FR+ - file: mobile/assets/i18n/da-DK.json+ locale_code: da-DK- file: mobile/assets/i18n/it-IT.jsonlocale_code: it-IT- - file: mobile/assets/i18n/nl-NL.json- locale_code: nl-NL- - file: mobile/assets/i18n/ko-KR.json- locale_code: ko-KR- file: mobile/assets/i18n/es-ES.jsonlocale_code: es-ES- - file: mobile/assets/i18n/fi-FI.json- locale_code: fi-FI+ - file: mobile/assets/i18n/vi-VN.json+ locale_code: vi-VN+ - file: mobile/assets/i18n/fr-FR.json+ locale_code: fr-FR- file: mobile/assets/i18n/ja-JP.jsonlocale_code: ja-JP- - file: mobile/assets/i18n/pt-BR.json- locale_code: pt-BR- file: mobile/assets/i18n/pl-PL.jsonlocale_code: pl-PL- - file: mobile/assets/i18n/sv-SE.json- locale_code: sv-SE- - file: mobile/assets/i18n/sk-SK.json- locale_code: sk-SK- - file: mobile/assets/i18n/zh-CN.json- locale_code: zh-CN- - file: mobile/assets/i18n/ru-RU.json- locale_code: ru-RU+ - file: mobile/assets/i18n/fi-FI.json+ locale_code: fi-FI+ - file: mobile/assets/i18n/pt-BR.json+ locale_code: pt-BR- file: mobile/assets/i18n/cs-CZ.jsonlocale_code: cs-CZ+ - file: mobile/assets/i18n/uk-UA.json+ locale_code: uk-UA+ - file: mobile/assets/i18n/ru-RU.json+ locale_code: ru-RU+ - file: mobile/assets/i18n/zh-CN.json+ locale_code: zh-CN+ - file: mobile/assets/i18n/sk-SK.json+ locale_code: sk-SK+ - file: mobile/assets/i18n/nl-NL.json+ locale_code: nl-NL- file: mobile/assets/i18n/nb-NO.jsonlocale_code: nb-NO+ - file: mobile/assets/i18n/sv-SE.json+ locale_code: sv-SE+ - file: mobile/assets/i18n/mn.json+ locale_code: mn+ - file: mobile/assets/i18n/ko-KR.json+ locale_code: ko-KR+ - file: mobile/assets/i18n/sr-Latn.json+ locale_code: sr-Latn+ - file: mobile/assets/i18n/sr-Cyrl.json+ locale_code: sr-Cyrl+ - file: mobile/assets/i18n/hi-IN.json+ locale_code: hi-IN+ - file: mobile/assets/i18n/es-PE.json+ locale_code: es-PE+ - file: mobile/assets/i18n/es-MX.json+ locale_code: es-MX+ - file: mobile/assets/i18n/sv-FI.json+ locale_code: sv-FI+ - file: mobile/assets/i18n/ca.json+ locale_code: ca+ - file: mobile/assets/i18n/hu-HU.json+ locale_code: hu-HU+ - file: mobile/assets/i18n/lv-LV.json+ locale_code: lv-LV+ - file: mobile/assets/i18n/zh-Hans.json+ locale_code: zh-Hans+ - file: mobile/assets/i18n/th-TH.json+ locale_code: th-THdiff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plistindex 044a046884..508bebe2f8 100644--- a/mobile/ios/Runner/Info.plist+++ b/mobile/ios/Runner/Info.plist@@ -21,24 +21,38 @@<string>6.0</string><key>CFBundleLocalizations</key><array>- <string>cs</string>- <string>da</string>- <string>de</string><string>en</string>+ <string>de</string>+ <string>da</string>+ <string>it</string><string>es</string>- <string>fi</string>+ <string>vi</string><string>fr</string>- <string>it</string><string>ja</string>- <string>ko</string>- <string>nl</string><string>pl</string>+ <string>fi</string><string>pt</string>+ <string>cs</string>+ <string>uk</string><string>ru</string>- <string>se</string>- <string>sk</string><string>zh</string>+ <string>sk</string>+ <string>nl</string><string>nb</string>+ <string>sv</string>+ <string>mn</string>+ <string>ko</string>+ <string>sr</string>+ <string>sr</string>+ <string>hi</string>+ <string>es</string>+ <string>es</string>+ <string>sv</string>+ <string>ca</string>+ <string>hu</string>+ <string>lv</string>+ <string>zh</string>+ <string>th</string></array><key>CFBundleName</key><string>immich_mobile</string>diff --git a/mobile/lib/constants/locales.dart b/mobile/lib/constants/locales.dartindex 16e15191e4..452203d512 100644--- a/mobile/lib/constants/locales.dart+++ b/mobile/lib/constants/locales.dart@@ -4,23 +4,37 @@ const List<Locale> locales = [// Default localeLocale('en', 'US'),// Additional locales- Locale('cs', 'CZ'),- Locale('da', 'DK'),Locale('de', 'DE'),+ Locale('da', 'DK'),+ Locale('it', 'IT'),Locale('es', 'ES'),- Locale('fi', 'FI'),+ Locale('vi', 'VN'),Locale('fr', 'FR'),- Locale('it', 'IT'),Locale('ja', 'JP'),- Locale('ko', 'KR'),- Locale('nl', 'NL'),Locale('pl', 'PL'),+ Locale('fi', 'FI'),Locale('pt', 'PR'),+ Locale('cs', 'CZ'),+ Locale('uk', 'UA'),Locale('ru', 'RU'),- Locale('sv', 'SE'),- Locale('sk', 'SK'),Locale('zh', 'CN'),+ Locale('sk', 'SK'),+ Locale('nl', 'NL'),Locale('nb', 'NO'),+ Locale('sv', 'SE'),+ Locale('mn', 'MN'),+ Locale('ko', 'KR'),+ Locale('sr', 'Latn'),+ Locale('sr', 'Cyrl'),+ Locale('hi', 'IN'),+ Locale('es', 'PE'),+ Locale('es', 'MX'),+ Locale('sv', 'FI'),+ Locale('ca', 'CA'),+ Locale('hu', 'HU'),+ Locale('lv', 'LV'),+ Locale('zh', 'Hans'),+ Locale('th', 'TH'),];const String translationsPath = 'assets/i18n';