Browse Source

Merge pull request #1009 from AppFlowy-IO/fix/default_localization

chore: fallback to en localization if the key is not found in the loc…
Nathan.fooo 2 years ago
parent
commit
d770003ed0
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',
         fallbackLocale: const Locale('en'),
+        useFallbackTranslations: true,
         saveLocale: false,
         child: app,
       ),