You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have 10 JSON key files for different languages.
When I add a new key only to the en-US file and run the command: dart run easy_localization:generate -S assets/translations -O lib/gen -o locale_keys.g.dart -f keys
no keys are generated.
However, when I add a new key to the es-ES file and run the same command, the key is generated.
I would like to understand the logic behind this behavior. Could you please explain how the command determines which JSON file to use?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have 10 JSON key files for different languages.
When I add a new key only to the en-US file and run the command:
dart run easy_localization:generate -S assets/translations -O lib/gen -o locale_keys.g.dart -f keys
no keys are generated.
However, when I add a new key to the es-ES file and run the same command, the key is generated.
I would like to understand the logic behind this behavior. Could you please explain how the command determines which JSON file to use?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions