i18n-watch
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
After an edit that calls translation keys, names the keys the JSON, Laravel PHP, YAML or gettext locale files lack, and the languages that lack them.
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
After Claude edits or writes a source file that calls translation keys, it checks your locale files (JSON, Laravel PHP, YAML, gettext) and tells Claude and you which keys are missing in which languages. An optional deny mode stops git commit, push and merge while keys are missing. It reads files in your project, makes no network calls and stores only its settings.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, turn.start, turn.complete, prompt.submit (adds a note for Claude about unresolved keys), command.run (/i18n-watch on|off|mode note|deny) and tool.call for Bash, Edit and Write. After an Edit or Write of a source file it extracts the new translation-call keys with a regex and compares them with locale files read from fixed folders under the session directory (locales, lang, i18n, translations, locale, config/locales, resources/lang, src/locales, src/i18n, public/locales; depth 4, at most 200 files, 2 MB each, node_modules skipped) using $.fs.list, $.fs.read, $.fs.exists, $.fs.stat. It adds a context note to the tool result, and shows the finding in the shared sidebar if present or in the log. In deny mode (off by default; default mode is note) a Bash command matching git commit, push or merge is denied while a file still lacks keys, with git rev-parse --show-toplevel and git diff --cached --name-only used to narrow a commit to its own files; the deny text says there is no way around it, but the user can switch the mode off. Uses $.store for enabled and mode. Failures are logged and ignored. No network, no writes to files.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/i18n-watch/)