Menu

1 / 2

Linting translation files before they break the UI

DEV Community·Berat61·6 months ago
#lSE6X9tn
#opensource#i18#tooling#github#localization
Reading 0:00
15s threshold

Localization bugs usually do not look like bugs at first.

They sit inside JSON, YAML, CSV, or resource files as ordinary strings. A missing key, a renamed placeholder, a translation file that slowly falls out of sync with the source language. Nothing dramatic. Nothing that immediately looks like a broken build.

Then one day the UI ships in another language, and the problem becomes visible.

That is why I started building LocaLint , a small open-source tool for checking localization files before these issues reach users.

The idea is simple: translation files should be treated less like passive text and more like part of the codebase.

We already lint code, format files, check configs, and run tests before shipping.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.