Home / Skills / dataelement/bisheng

i18n-localizer

Internationalize a module by extracting hardcoded Chinese strings, generating translation keys, and updating all three locale files (en, zh-Hans, ja).

skillLicense: Apache-2.0 Source: dataelement/bisheng

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit dataelement/bisheng/.claude/skills/i18n-localizer .claude/skills/i18n-localizer

Or install it for every project:

npx degit dataelement/bisheng/.claude/skills/i18n-localizer ~/.claude/skills/i18n-localizer

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
name: i18n-localizer
description: Internationalize a module by extracting hardcoded Chinese strings, generating translation keys, and updating all three locale files (en, zh-Hans, ja).
---

# i18n Localizer

This skill extracts hardcoded Chinese strings from a React module and replaces them with `useLocalize()` calls, keeping all three locale files in sync.

## Instructions
1. **Read the Workflow**: Read the content of `resources/INSTRUCTIONS.md` for the complete step-by-step process.
2. **Read the Conventions**: Read `resources/CONVENTIONS.md` for key naming rules and usage patterns.
4. **Execute**: Follow the workflow to localize the target module.