Skip to content
AddHunt
VS Code extensions

x18n

Find missing, unused and broken i18n keys

Open source

  • Open source
  • Licence: MIT

In short

x18n is an open-source toolkit that reads a project's locale files and translation calls, then reports missing, unused and broken keys and edits locale files safely. It serves developers, CI pipelines and coding agents through a CLI, language server, VS Code extension, web UI and MCP tools.

What you get

  • Reports missing, unused and broken translation keys
  • Zero-config detection of i18n library and locale files
  • Rename keys across locales and code with dry run
  • Browser UI for browsing and editing keys
  • VS Code extension and language server
  • MCP tools for coding agents

The details

x18n checks the internationalization layer of a codebase. It parses locale files together with the translate calls in the source, maps where each key is used, and flags problems in the style of a type checker.

No configuration to begin

Run in a project root, it detects the i18n library from the dependencies and locates the locale files. An init command can then write an x18n.config.ts based on the detected presets.

Commands

  • check: reports missing, unused and broken keys and exits with an error code on failures, which suits CI
  • get and search: show a key's value in every locale, or find the key behind a piece of interface text
  • rename: renames a key across all locales and usages, with a dry-run diff
  • ui: opens a browser editor for all keys and serves MCP for agents at the same time

Running x18n with no arguments prints a project status with per-locale coverage and counts of resources, keys and usages.

One engine, several surfaces

The CLI, the language server, the VS Code extension, the browser UI and the MCP tools share one engine and configuration, so they report identical diagnostics. Edits to locale files keep their original format. The project is MIT-licensed and supports multiple frameworks, including vue-i18n.

Alternatives to x18n

All alternatives

Questions

Does x18n need a config file?

No. It detects the i18n library and locale files automatically; an init command can write a config file later if needed.

Can x18n run in CI?

Yes. The check command reports problems and exits with an error code when it finds errors.

How do coding agents use x18n?

The browser UI serves MCP tools for agents while it runs, using the same engine as the CLI and editor integrations.

More like this