BASE

i18n-check

i18n-check

Build / code quality tool · Free

Checks translation files for missing and invalid keys: it helps maintain consistent application localization in CI.

Also known as: lingualdev/i18n-check; lingual-i18n-check

Resource illustration: i18n-check

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Find missing and inconsistent translation keys
  • Run the check and investigate missing or inconsistent keys in the report

Example workflow

A possible workflow; this is not a report of hands-on testing.

Find missing and inconsistent translation keys.

Before you start

  • A repository, package manifests, and configuration.
  • A compatible runtime and the target build command.

Steps

  1. Define the project's source language and translation files.
  2. Run the check and investigate missing or inconsistent keys in the report.
  3. Add the workflow to scripts or CI with a clear report.

Check your result

  • A clean copy of the project reproduces the result.
  • Errors produce a nonzero exit code and clear diagnostics.

Choosing i18n-check

Find missing and inconsistent translation keys

Choose this when

  • Find missing and inconsistent translation keys
  • Run the check and investigate missing or inconsistent keys in the report

Requirements

  • Specify the source locale and message format; for unused key analysis, also provide the application code path.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • Comparing locale file keys does not establish semantic translation accuracy; separate editorial review is required.

Frequently asked questions

What can you use for free in i18n-check?

Code and local use under MIT.

What additional costs might arise with i18n-check?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for i18n-check?

MIT for the code; dependencies have separate licenses.

How do you get started with i18n-check?

Define the project's source language and translation files. Run the check and investigate missing or inconsistent keys in the report. Add the workflow to scripts or CI with a clear report.

How does i18n-check distinguish missing and unused keys?

Missing keys are found by comparing locales with the source locale. --unused also needs source code and the chosen format: reference analysis finds unused and undefined keys. This analysis is experimental for next-intl.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • i18n-check
  • build
  • Development

Sources

Other resources