-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Keep the nested structure when the LocaleKeys are generated #390
Comments
Hello @aissat, is it an acceptable proposition? |
@ValentinVignal i think it's god idea. PR welcom 😉 |
@ValentinVignal are you working on this? If not I can give it a try. |
@TarekkMA Not yet, I have been quite busy recently. @Overman775 right now LocalKeys.project.name; would not be a |
@ValentinVignal take a look at my PR #418, I've managed to make nested objects private and const. Your feedback is most appreciated. |
This idea is very useful! |
any idea if this will be merged into the project anytime soon? |
Let's say I have this
en.json
file:Right now, running
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart
to generate the keys will flatten the nested structure and generate:It would be nice if it could keep the nested structure and generate nested objects:
The text was updated successfully, but these errors were encountered: