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

how can i generated i18n.dart by the jsons that download from others #59

Open
HongxiangShe opened this issue May 18, 2020 · 1 comment

Comments

@HongxiangShe
Copy link

i want to generated the 'i18n.dart' by the jsons from our apis,
for example
if we find a wrong text in the json, we can upload a new json to replace the old json

@gnudles
Copy link

gnudles commented Feb 1, 2021

I wrote an alternative dart code generator in dart. you can costumize it very very easily!
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