Skip to content

Conversation

@Taelar
Copy link
Contributor

@Taelar Taelar commented Nov 2, 2025

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:

  • Uses the File System Access API to automatically list available translation files (no need to hardcode filenames)
  • Generic XML parsing that should handle format changes
  • Everything in a single HTML file

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.

@Taelar Taelar changed the title Feat/localization compare page feat(helper): missing key finding web page Nov 2, 2025
Copy link
Member

@haato3o haato3o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a pretty cool idea!

@haato3o haato3o added this pull request to the merge queue Nov 3, 2025
Merged via the queue into HunterPie:main with commit 4d35f98 Nov 3, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants