ソースを参照

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 年 前
コミット
d770003ed0
1 ファイル変更1 行追加0 行削除
  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,
       ),