fallback to english if user lang is not supported in debug mode

This commit is contained in:
poka 2022-08-06 01:45:06 +02:00
parent f44dd4aa76
commit 4fb40ff3f1
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ Future<void> main() async {
EasyLocalization(
supportedLocales: const [Locale('en'), Locale('fr'), Locale('es')],
path: 'assets/translations',
fallbackLocale: const Locale('fr'),
fallbackLocale: const Locale('en'),
child: Gecko(indexerEndpoint),
),
);