diff --git a/frontend/app_flowy/assets/translations/it_IT.json b/frontend/app_flowy/assets/translations/it-IT.json similarity index 100% rename from frontend/app_flowy/assets/translations/it_IT.json rename to frontend/app_flowy/assets/translations/it-IT.json diff --git a/frontend/app_flowy/assets/translations/zh_CN.json b/frontend/app_flowy/assets/translations/zh-CN.json similarity index 100% rename from frontend/app_flowy/assets/translations/zh_CN.json rename to frontend/app_flowy/assets/translations/zh-CN.json diff --git a/frontend/app_flowy/lib/startup/tasks/application_widget.dart b/frontend/app_flowy/lib/startup/tasks/application_widget.dart index 4e5415c9f6..a30d87ef22 100644 --- a/frontend/app_flowy/lib/startup/tasks/application_widget.dart +++ b/frontend/app_flowy/lib/startup/tasks/application_widget.dart @@ -22,7 +22,7 @@ class AppWidgetTask extends LaunchTask { () { runApp( EasyLocalization( - supportedLocales: const [Locale('en'), Locale('zh_CN'), Locale('it_IT'), Locale('fr', 'CA')], + supportedLocales: const [Locale('en'), Locale('zh', 'CN'), Locale('it', 'IT'), Locale('fr', 'CA')], path: 'assets/translations', fallbackLocale: const Locale('en'), child: app),