I18n

From Project-N-E-K-O/N.E.K.O · View interactive version

I18n is an AI agent skill from the GitHub repository Project-N-E-K-O/N.E.K.O. i18n (internationalization) toolkit for projects using i18next. Provides three main functions: (1) i18n-check - Detect hardcoded Chinese text in HTML/JS files, (2) i18n-fix - Replace hardcoded text with i18n markers, (3) i18n-sync - Align translation keys across multiple languages (zh-CN, zh-TW, en,

How to use this skill

Skill file

i18n Toolkit

Complete i18n (internationalization) toolkit for projects using i18next.

Architecture

Three Main Commands

1. i18n-check - Detect Issues

Check frontend files for hardcoded Chinese text.

/i18n-check <module> [options]

Modules: main, live2d, voice, steam, settings, chat, custom

Options: --status, --reset, --files=<path>, --html, --js, --strict

See references/check-modules.md for module file mappings.

2. i18n-fix - Fix Issues

Replace hardcoded Chinese with i18n markers.

/i18n-fix <module> [--add-keys]

Fix patterns:

See references/fix-patterns.md for examples.

3. i18n-sync - Sync Languages

Align translation keys across all languages.

uv run python scripts/i18n_sync.py          # Check status
uv run python scripts/i18n_sync.py --apply  # Apply changes

Quick Workflow

  1. Check: /i18n-check steam - Find hardcoded strings
  2. Fix: /i18n-fix steam - Replace with i18n markers
  3. Verify: /i18n-check steam - Confirm fixes
  4. Sync: /i18n-sync - Sync to other languages

Detection Rules

Check for:

Skip:

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.