Add a warning for JSON files that are nested #5
Labels
feature
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Terms
Description
One useful functionality for i18n-check would be a warning for users who have their JSON files structured using a nested structure. This is common practice, but then prevents i18n keys from being changed together with their usage via find and replace. All i18n JSON files can be checked and the following message can be shown to the user:
The functionality for this can go in a
check_nested_json.py
file, with this being the last file for therun_i18n_checks.py
process such that this warning is the last thing that's printed to the user if there are warnings.Contribution
Happy to support on this and review a PR once it's opened! 🚀
The text was updated successfully, but these errors were encountered: