Browse Source

chore: fallback to en localization if the key is not found in the locale file

appflowy 2 years ago
parent
commit
81a7b7f3eb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frontend/app_flowy/lib/startup/tasks/app_widget.dart

+ 1 - 0
frontend/app_flowy/lib/startup/tasks/app_widget.dart

@@ -46,6 +46,7 @@ class InitAppWidgetTask extends LaunchTask {
         ],
         ],
         path: 'assets/translations',
         path: 'assets/translations',
         fallbackLocale: const Locale('en'),
         fallbackLocale: const Locale('en'),
+        useFallbackTranslations: true,
         saveLocale: false,
         saveLocale: false,
         child: app,
         child: app,
       ),
       ),