immich/mobile/lib/constants/locales.dart
Alex 64697235d6
feat(mobile): adding additional languages (#3161)
* update locale

* localizely

* Update info.plist

---------

Co-authored-by: Alex Tran <Alex.Tran@conductix.com>
2023-07-08 15:26:26 -05:00

41 lines
855 B
Dart

import 'dart:ui';
const List<Locale> locales = [
// Default locale
Locale('en', 'US'),
// Additional locales
Locale('de', 'DE'),
Locale('da', 'DK'),
Locale('it', 'IT'),
Locale('es', 'ES'),
Locale('vi', 'VN'),
Locale('fr', 'FR'),
Locale('ja', 'JP'),
Locale('pl', 'PL'),
Locale('fi', 'FI'),
Locale('pt', 'PR'),
Locale('cs', 'CZ'),
Locale('uk', 'UA'),
Locale('ru', 'RU'),
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';