Skip to content
Back to skills

I18n Check

ASecurity

Finds hardcoded strings that should be internationalized and generates translation keys

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsbashreactvueangular

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill i18n-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of I18n Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for I18n Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-i18n-check/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-i18n-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: i18n-check
description: Finds hardcoded strings that should be internationalized and generates translation keys
argument-hint: [file-or-directory]
user-invocable: true
allowed-tools: Read Grep Glob Edit
effort: medium
---

## Internationalization Check

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

1. Detect i18n library:
```bash
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
```

2. Find hardcoded user-visible strings (not variable names, not URLs):
```bash
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
```

3. For each hardcoded string:
   - Is it user-visible? (skip internal error codes, class names)
   - Generate a translation key: `page.section.description`
   - Show the replacement code using the project's i18n function

4. Update the locale file (`en.json` or equivalent) with new keys.

5. Replace hardcoded strings in source with i18n function calls.

6. Report: N strings found, N replaced, N skipped (non-user-visible).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…