瀏覽代碼

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,
       ),