TF-1581 Support language Arabic-Tunisia

This commit is contained in:
dab246
2023-03-10 13:56:29 +07:00
committed by Dat Vu
parent 0ae860e789
commit a95bf26fe5
10 changed files with 286 additions and 65 deletions
@@ -1603,6 +1603,12 @@ class AppLocalizations {
name: 'languageRussian');
}
String get languageArabic {
return Intl.message(
'Arabic',
name: 'languageArabic');
}
String get messageDialogSendEmailUploadingAttachment {
return Intl.message(
'Your message could not be sent because it uploading attachment',
@@ -14,14 +14,16 @@ class LocalizationService extends Translations {
'fr',
'en',
'vi',
'ru'
'ru',
'ar'
];
static const List<Locale> supportedLocales = [
Locale('fr', 'FR'),
Locale('en', 'US'),
Locale('vi', 'VN'),
Locale('ru', 'RU')
Locale('ru', 'RU'),
Locale('ar', 'TN')
];
static final locale = _getLocaleFromLanguage();