Skip to content
CDGet
  • Home
  • Projects
  1. Home
  2. All projects
  3. Chki18n

Chki18n

LibraryUtility

A command-line tool that checks translation files against i18n conventions, published for JavaScript, Dart and Python. It reports missing keys, duplicated values and other common mistakes, and runs in CI as readily as on a laptop.

Homepage (opens in a new tab)Documentation (opens in a new tab)Source code (opens in a new tab)

About this project

Chki18n is a command-line tool that checks translation files against the conventions an internationalised project depends on. It reads the locale files a project already has and reports what is wrong with them, which is a check that otherwise happens only when a missing string reaches a screen.

It runs twenty-five checks and reports each at the level of the harm it does. Errors are what will break the interface: a file that cannot be read or parsed, a key defined twice, a locale missing from a group, a key present in one language and missing in another, and interpolation placeholders that do not match the primary locale in name or in count. Warnings are what will merely embarrass — an empty value, two keys carrying the same text, a value identical to the source language and therefore untranslated, digits dropped or changed in translation, lost markup, one original translated two ways, an invisible character, a missing plural form, and a key no other language still uses. Pointed at the source code as well, it reports keys nothing references and keys the code asks for that no file defines.

It runs as a command, in a CI job or from your own code, and is published for JavaScript, Dart and Python, all three running the same checks in the same order and printing the same report. It reads JSON translation files today, and it checks rather than translates: nothing in a file is rewritten by running it.

Features

  • Documentation site

  • TypeScript types

  • Multiple languages

  • Verified by tests

  • Cross-platform

  • Command-line interface

Project information

Started
2026
License
MIT (opens in a new tab)
Programming languages
DartPythonJavaScript
Tags
i18ntranslationclivalidationcontinuous-integration
Packages
chki18n (opens in a new tab)npmchki18n (opens in a new tab)pub.devchki18n (opens in a new tab)PyPI
Popularity
4
GitHub stars
430
npm downloads
Data points: 30. Range: 0 to 171.
Chki18n — npm downloads, Last 30 days
npm downloads
Sep 25
Sep 30
Sep 4144
Sep 5171
Sep 628
Sep 70
Sep 80
Sep 911
Sep 108
Sep 114
Sep 1218
Sep 134
Sep 142
Sep 150
Sep 162
Sep 176
Sep 181
Sep 191
Sep 201
Sep 210
Sep 220
Sep 238
Sep 240
Sep 252
Sep 263
Sep 275
Sep 282
Sep 291
Sep 303
Oct 10
Last 30 days
ContactDonate
The projects listed here are open source under the MIT License.© 2026 CDGet. All rights reserved.