Why does the key generation behavior differ based on the JSON file? #726
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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