r/json • • 25m ago

toolspace i18n checker: compares JSON locale files and flags missing keys, placeholder and ICU plural problems (free, in the browser)

1 Upvotes

i'm the dev. toolspace is a set of free, open-source developer tools that run in the browser (MIT, repo: https://github.com/Anshs-12/toolspace).

the newest page is an i18n JSON checker. you drop in one JSON locale file per language and it compares each against a base file. it flags missing keys, extra keys, empty or untranslated values, duplicate keys, {{placeholder}} and {name} mismatches, and HTML tag mismatches. for ICU plural and select blocks it flags a missing other branch and labels that are not valid for the language. it also warns when a translation runs more than 30% longer than the base. then you can preview the fixes and download the synced files.

it reads flat and nested JSON (i18next, vue-i18n and similar). YAML, PO, XLIFF and printf-style placeholders aren't supported yet.

https://toolspace.tech/i18n-json-checker/

what would you want a JSON locale checker to check that it doesn't?