i18n-completeness

Identify missing translation keys and hardcoded strings across English, Japanese, and Chinese Simplified locale files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sakataka/tetris-game2 --skill i18n-completeness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-completeness
Source: https://github.com/sakataka/tetris-game2/tree/main/.claude/skills/i18n-completeness
Command: npx skills add https://github.com/sakataka/tetris-game2 --skill i18n-completeness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive i18n analysis tool for the Tetris project supporting 3 languages (English, Japanese, Chinese Simplified). It detects missing keys, hardcoded strings, dynamic key patterns, and unused keys to ensure robust localization.

Core Features & Use Cases

  • Missing Keys (Critical): Keys used in code but not present in translation files
  • Hardcoded Strings (i18n Compliance): Strings not using t() must be translated
  • Dynamic Key Patterns: Validates patterns like t(game.${type}) exist
  • Unused Keys: Finds and removes keys not used in code

Quick Start

Run the i18n consistency check with bun run check:i18n

Frequently Asked Questions about i18n-completeness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find missing translation keys in my multi-language codebase?

Missing translation keys are identified by analyzing code usage against JSON translation files. This Skill detects keys used in code but absent from locale files, flagging runtime gaps across English, Japanese, and Chinese Simplified translations so you can add them before deployment.

How do I detect hardcoded strings that should be localized?

Hardcoded strings violate i18n compliance when they bypass the t() translation function. This Skill scans for non-translated text in code and templates, distinguishing strings that must use t() from those already localized, so you achieve consistent key deployment.

Can I validate dynamic translation key patterns like t(`game.${type}`)?

Dynamic key patterns are validated by analyzing template literal usage and key generation logic. This Skill detects patterns such as t(`game.${type}`) and confirms the required keys exist in all locale files, preventing runtime translation failures.

What happens when I run the i18n consistency check?

Running the check analyzes your entire codebase for missing keys, hardcoded strings, dynamic patterns, and unused keys across all locale files. It enforces i18n compliance by validating JSON integrity and coordinating fixes across English, Japanese, and Chinese Simplified translations.

How do I identify and remove unused translation keys?

Unused keys are found by comparing all keys in translation files against actual code usage. This Skill flags keys not referenced anywhere, enabling cleanup of obsolete translations and keeping locale files lean and maintainable.