feat(helper): missing key finding web page #209
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When working on the fr-fr localization, I found it hard to keep track of missing keys in the translation file. As a web developer, I figured I could build something to help myself and other contributors working on translations.
So here is my proposal for a web page that lists missing keys in localization files, based on keys found in the en-us.xml file. Since it runs in a browser page, it does not require any developper tool like Python or Node. All the works is made client side as there is no server.
I tried to make it as low-maintenance as possible:
As mentionned in the README.md, this uses the File System Access API, which currently works on Chrome, Edge, and Opera. Firefox and Safari don't support it (yet?).
I've provided screenshots and demo video to make sure everyone understands how it works.
I also understand that my proposal is a bit sudden, and involves security concerns. If you are uncomfortable with anything, I would be happy to discuss it and make appropriate changes.
I'm also available on the HunterPie Discord (DM open).
Thank you hunters.