mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-18 12:34:54 +00:00
fix(i18l): Use fallback English translations when localized one not available
This commit is contained in:
parent
c1cba41b7b
commit
9644ade367
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue