From 9644ade367c632133a2713cecfe965de915969d7 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 4 Oct 2022 11:26:18 +0300 Subject: [PATCH] fix(i18l): Use fallback English translations when localized one not available --- lib/config/localization.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/localization.dart b/lib/config/localization.dart index b8356950..5e5ffc38 100644 --- a/lib/config/localization.dart +++ b/lib/config/localization.dart @@ -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!,