localization-toolkit
仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 21 天前
▸ 精选理由
快速搭建 en-US/zh-CN 兼容的 i18n 架构并统一翻译策略。
这个 Skill 做什么
为前端代码库配置 i18n、替换硬编码文案并校验中英文覆盖与复数规则。
帮前端代码库做完整的 i18n 改造和审核:安装配置框架、把硬编码文案抽成 key、保证 en‑US 与 zh‑CN 的覆盖和复数/格式规则正确。适合开始国际化、做翻译质量检查或导出翻译文件时用。特色是兼顾架构级别的目录组织和工程实践(如 React/TS、i18next、JSON locales),还能把错误码映射到本地化消息。
▸ 展开 SKILL.md 英文原文
This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the i18n framework, replacing hard-coded strings, ensuring en-US/zh-CN coverage, mapping error codes to localized messages, and validating key parity, pluralization, and formatting.
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/localization-toolkit/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/localization-toolkit/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# I18n Expert ## Overview Deliver a complete i18n setup + audit pass: configure the i18n framework, replace user-facing strings with keys, ensure locale parity, and validate pluralization/formatting for en-US and zh-CN. ## Core Capabilities - Library selection and setup (React, Next.js, Vue). - Key architecture and locale file organization. - Translation generation and quality strategy (AI, professional, manual). - Routing and language detection/switching. - SEO and metadata localization (when applicable). - RTL support (only if RTL locales are in scope). ## Scope Inputs (ask if unclear) - Framework and routing style. - Existing i18n state (none, partial, legacy). - Target locales (def
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有