fix(i18l): Use fallback English translations when localized one not available
parent
c1cba41b7b
commit
9644ade367
|
@ -13,6 +13,7 @@ class Localization extends StatelessWidget {
|
||||||
supportedLocales: const [Locale('ru'), Locale('en')],
|
supportedLocales: const [Locale('ru'), Locale('en')],
|
||||||
path: 'assets/translations',
|
path: 'assets/translations',
|
||||||
fallbackLocale: const Locale('en'),
|
fallbackLocale: const Locale('en'),
|
||||||
|
useFallbackTranslations: true,
|
||||||
saveLocale: false,
|
saveLocale: false,
|
||||||
useOnlyLangCode: true,
|
useOnlyLangCode: true,
|
||||||
child: child!,
|
child: child!,
|
||||||
|
|
Loading…
Reference in New Issue