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

Feature request: Validate *.lang.json syntax when rendering #1068

Open
Stretch96 opened this issue Feb 9, 2022 · 0 comments
Open

Feature request: Validate *.lang.json syntax when rendering #1068

Stretch96 opened this issue Feb 9, 2022 · 0 comments

Comments

@Stretch96
Copy link

Stretch96 commented Feb 9, 2022

Currently when rendering the site (eg. 'Save & Preview'), it will accept an invalid *.lang.json file without warning

It only becomes apparent when viewing the site, and all translations are dispalyed as [MISSING TRANSLATION]

It would make debugging easier if the JSON within the file was validated before rendering site, and throw a warning or error if there are syntax errors

@Stretch96 Stretch96 changed the title Feature request: Validate *.lang.json syntax when generating static site Feature request: Validate *.lang.json syntax when rendering Feb 9, 2022
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

1 participant