Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Fixed problem with translation key gen

Harinandan33212df63a14
diff --git a/frontend/scripts/generate_language_files.cmd b/frontend/scripts/generate_language_files.cmd
index a8e938aa08..4522440595 100644
--- a/frontend/scripts/generate_language_files.cmd
+++ b/frontend/scripts/generate_language_files.cmd
@@ -1,4 +1,4 @@
echo 'Generating language files'
cd app_flowy
-flutter pub run easy_localization:generate -S assets/translations/ && flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations/
\ No newline at end of file
+flutter pub run easy_localization:generate -S assets/translations/ && flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations/ -s en.json
\ No newline at end of file
diff --git a/frontend/scripts/generate_language_files.sh b/frontend/scripts/generate_language_files.sh
index 6ef0b175f0..61215f1a64 100644
--- a/frontend/scripts/generate_language_files.sh
+++ b/frontend/scripts/generate_language_files.sh
@@ -3,4 +3,4 @@
echo 'Generating language files'
cd app_flowy
flutter pub run easy_localization:generate -S assets/translations/
-flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
+flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json