I18n check

From berkcangumusisik/claude-code-practices · View interactive version

I18n check is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Finds hardcoded strings that should be internationalized and generates translation keys

How to use this skill

Skill file

Internationalization Check

Target: $1 (or src/ if not specified)

  1. Detect i18n library:
cat package.json | grep -E '"i18next"|"react-intl"|"vue-i18n"|"@angular/localize"|"next-intl"'
ls src/locales/ src/i18n/ public/locales/ 2>/dev/null | head -10
  1. Find hardcoded user-visible strings (not variable names, not URLs):
grep -rn '"[A-Z][a-z ]\+"\|'"'"'[A-Z][a-z ]\+'"'" ${1:-src/} --include="*.tsx" --include="*.jsx" --include="*.vue" | grep -v "className\|import\|export\|test\|spec" | head -30
  1. For each hardcoded string:
  1. Update the locale file (en.json or equivalent) with new keys.
  1. Replace hardcoded strings in source with i18n function calls.
  1. Report: N strings found, N replaced, N skipped (non-user-visible).
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.