fallback to english if user lang is not supported in debug mode
This commit is contained in:
parent
f44dd4aa76
commit
4fb40ff3f1
|
@ -123,7 +123,7 @@ Future<void> main() async {
|
||||||
EasyLocalization(
|
EasyLocalization(
|
||||||
supportedLocales: const [Locale('en'), Locale('fr'), Locale('es')],
|
supportedLocales: const [Locale('en'), Locale('fr'), Locale('es')],
|
||||||
path: 'assets/translations',
|
path: 'assets/translations',
|
||||||
fallbackLocale: const Locale('fr'),
|
fallbackLocale: const Locale('en'),
|
||||||
child: Gecko(indexerEndpoint),
|
child: Gecko(indexerEndpoint),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue