🌍
AI EngineeringPython

I18n Helper

by laolaoshiren

I18n Helper is an AI Engineering skill for Claude Code, published by laolaoshiren in claude-code-skills-zh.

786 stars84 forkson laolaoshiren/claude-code-skills-zhAdded 2026/08/23+1% in starsRepository updated 2026/08/23
ai-agentawesome-listclaude-codeclaude-skillsdeveloper-toolsprompt-engineeringskills
Install in seconds
Install I18n Helper
Copy I18n Helper into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/i18n-helper ~/.claude/skills/i18n-helper

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/i18n-helper/SKILL.md in laolaoshiren/claude-code-skills-zh
Installs to
~/.claude/skills/i18n-helper
Collection
One of 20 skills cataloged from this repository
Category
AI Engineering — 3670 skills

What I18n Helper does

I18n Helper scans code for hardcoded UI text, generates locale files, and replaces strings with i18n calls. Use it when adding localization or checking missing translation keys.

I18n Helper is cataloged under AI Engineering on DirSkills. I18n Helper comes from a repository tagged ai-agent, awesome-list, claude-code, claude-skills and developer-tools.

Documentation

README

🌍 i18n-helper — 国际化/本地化助手

触发条件

当用户要求以下操作时激活此技能:

  • 扫描代码中的硬编码中文/英文文本
  • 为项目添加国际化支持(i18n)
  • 批量提取和翻译语言文件
  • 检查翻译完整性(缺失 key 检测)

工作流程

1. 项目分析

  • 检测项目类型(React/Vue/Angular/Node.js/Python/Java 等)
  • 识别已使用的 i18n 框架(react-intl, vue-i18n, i18next, gettext 等)
  • 扫描源代码目录结构

2. 硬编码文本扫描

  • 在 .js/.jsx/.ts/.tsx/.vue/.py/.java/.go 等文件中搜索硬编码字符串
  • 排除:变量名、URL、正则表达式、import 路径、日志调试信息
  • 标记:用户可见的 UI 文本、错误提示、通知消息

3. 语言文件生成

根据项目框架生成对应格式:

  • JSON (i18next/react-intl): { "key": "value" }
  • YAML (vue-i18n): key: value
  • PO/POT (gettext): 标准格式
  • Properties (Java): key=value

4. 代码替换

  • 将硬编码文本替换为 i18n 函数调用
  • 保持原有格式和变量插值
  • 示例:
    // 替换前
    alert('保存成功');
    // 替换后
    alert(t('alert.saveSuccess'));
    

This is the opening of the README. Read the full README on GitHub.

Frequently asked about I18n Helper

  • What else does laolaoshiren publish alongside I18n Helper?

    I18n Helper is one of 20 skills that DirSkills catalogs from laolaoshiren/claude-code-skills-zh, the repository it ships in. Its siblings there include API Tester, Changelog Generator and Chinese Code Reviewer. Each one is a separate skill with its own page in this directory, installs the same way I18n Helper does, and is maintained by laolaoshiren in that same repository. The rest of the collection is listed on the laolaoshiren/claude-code-skills-zh page.

  • How does I18n Helper compare to other AI Engineering skills?

    I18n Helper ranks #1642 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of I18n Helper against them. Open each page to compare what they document and how they install.

More from laolaoshiren/claude-code-skills-zh

I18n Helper is one of 20 skills cataloged on DirSkills from laolaoshiren/claude-code-skills-zh.

See all 20 skills →
🧪
2026/08/23

API Tester

API Tester generates and verifies API tests from OpenAPI, routes, types, and existing tests. Use it to add interface tests, validate contracts, create regressions, or investigate compatibility without guessing responses or sending writes without approval.
Quality
78684
📝
2026/08/23

Changelog Generator

Changelog Generator creates changelogs and release notes from Git history. Use it when you need to summarize commits into versioned change logs.
Writing
78684
🔍
2026/08/23

Chinese Code Reviewer

Chinese Code Reviewer generates structured code review reports in Chinese. Use it when you need to check code quality, bugs, performance, security, and design issues.
Quality
78684
📚
2026/08/23

Chinese Documentation Generator

Chinese Documentation Generator creates Chinese technical documentation from a codebase, including project overviews, quick start guides, API references, examples, and FAQs. Use it when you need Markdown docs for a project or API.
Writing
78684
🗄️
2026/08/23

Database Migrator

Database Migrator compares schemas, identifies table and column changes, and generates migration scripts with rollback steps. Use it when you need database upgrades, schema changes, or framework-specific migrations.
DevOps
78684
🔍
2026/08/23

Dependency Auditor

Dependency Auditor 审计 Node.js、Python、Go、Rust、JVM 和 Ruby 项目的依赖漏洞、版本健康度与许可证事实。适合在检查 lockfile、manifest 或生成不改依赖的中文审计报告时使用。
Quality
78684