fix(i18l): Use fallback English translations when localized one not available

pull/125/head
Inex Code 2022-10-04 11:26:18 +03:00
parent c1cba41b7b
commit 9644ade367
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class Localization extends StatelessWidget {
supportedLocales: const [Locale('ru'), Locale('en')],
path: 'assets/translations',
fallbackLocale: const Locale('en'),
useFallbackTranslations: true,
saveLocale: false,
useOnlyLangCode: true,
child: child!,