esskar / vscode-flutter-i18n-json

VS Code extension to create a binding between your translations from .json files and your Flutter app.
92 stars 22 forks source link

class not getting generated when adding arrays #69

Open gnudles opened 3 years ago

gnudles commented 3 years ago

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 commented 3 years ago

I can confirm this is an issue.

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

gnudles commented 3 years ago

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