Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class not getting generated when adding arrays #69

Open
gnudles opened this issue Jan 12, 2021 · 2 comments
Open

class not getting generated when adding arrays #69

gnudles opened this issue Jan 12, 2021 · 2 comments

Comments

@gnudles
Copy link

gnudles commented Jan 12, 2021

I have two files en-US.json, he-IL.json
I add simple array:
"fruits": ["apple","banana"]

hebrew:
"fruits": ["apple","בננה"]

then only en_US class getting generated

@SoftWyer
Copy link

I can confirm this is an issue.

I also think this project is dead as it is not being maintained.

@gnudles
Copy link
Author

gnudles commented Feb 1, 2021

I wrote an alternative dart code generator in dart since then (because my poor knowledge in ts).
https://github.com/gnudles/dart_i18n_generator
add it to dev dependencies in pubspec.yaml and generate i18n.dart by running the command
flutter pub run i18n_json:i18n_json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants