l10n: Enable persian language

This commit is contained in:
Neeraj Gupta 2023-05-07 11:51:53 +05:30
parent a22e136e71
commit 1d778821af
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@ const List<Locale> appSupportedLocales = <Locale>[
Locale('es', 'ES'),
Locale('fr'),
Locale('nl'),
Locale('fa'),
Locale('pt', 'BR'),
Locale('ru'),
Locale("zh", "CN"),

View file

@ -164,6 +164,8 @@ class _ItemsWidgetState extends State<ItemsWidget> {
return '한국어';
case 'ar':
return 'العربية';
case 'fa':
return 'فارسی';
default:
return locale.languageCode;
}