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

JSON with comments (jsonc) support #48

Open
arnemolland opened this issue Nov 15, 2019 · 1 comment
Open

JSON with comments (jsonc) support #48

arnemolland opened this issue Nov 15, 2019 · 1 comment
Assignees

Comments

@arnemolland
Copy link

Currently, the extension silently fails to generate an update if comments are added to the translation files It would be nice to have support for comments in JSON for larger projects.

@esskar esskar self-assigned this Nov 15, 2019
@gnudles
Copy link

gnudles commented Feb 7, 2021

Hi,I wrote a cli in pure dart for that plugin that generates the dart file from the jsons...
It supports comments through YAML, enable it by renaming the files to .yaml, then you can add yaml comments (#comment).
YAML is a superset of JSON, so every JSON file is also a YAML file.
check if out here https://github.com/gnudles/dart_i18n_generator

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

3 participants