Setup prefered locale

This commit is contained in:
Vincent Velociter
2025-12-21 11:29:33 +01:00
parent 4045985ce7
commit fa89ad6075
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
arb-dir: lib/l10n arb-dir: lib/l10n
template-arb-file: app_en.arb template-arb-file: app_en.arb
output-localization-file: l10n.dart output-localization-file: l10n.dart
preferred-supported-locales: [en]
nullable-getter: false nullable-getter: false
format: false format: false
+1 -1
View File
@@ -139,6 +139,7 @@ abstract class AppLocalizations {
/// A list of this localizations delegate's supported locales. /// A list of this localizations delegate's supported locales.
static const List<Locale> supportedLocales = <Locale>[ static const List<Locale> supportedLocales = <Locale>[
Locale('en'),
Locale('af'), Locale('af'),
Locale('ar'), Locale('ar'),
Locale('az'), Locale('az'),
@@ -151,7 +152,6 @@ abstract class AppLocalizations {
Locale('da'), Locale('da'),
Locale('de'), Locale('de'),
Locale('el'), Locale('el'),
Locale('en'),
Locale('en', 'US'), Locale('en', 'US'),
Locale('eo'), Locale('eo'),
Locale('es'), Locale('es'),