forked from SelfPrivacy/selfprivacy.org.app
Set fallback locale to en
parent
5f0951f8da
commit
971d8bdbdc
|
@ -13,7 +13,7 @@ class Localization extends StatelessWidget {
|
||||||
return EasyLocalization(
|
return EasyLocalization(
|
||||||
supportedLocales: [Locale('ru'), Locale('en')],
|
supportedLocales: [Locale('ru'), Locale('en')],
|
||||||
path: 'assets/translations',
|
path: 'assets/translations',
|
||||||
fallbackLocale: Locale('ru'),
|
fallbackLocale: Locale('en'),
|
||||||
saveLocale: false,
|
saveLocale: false,
|
||||||
useOnlyLangCode: true,
|
useOnlyLangCode: true,
|
||||||
child: child!,
|
child: child!,
|
||||||
|
|
Loading…
Reference in New Issue