Chatbox i18n Translator
chatboxai/chatbox
Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.
Guide for internationalization development in Mobazha including translation key naming, adding new languages, parameter interpolation, and locale-specific formatting.
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mobazha/mobazha-unified i18n-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/i18n-guide .claude/skills/i18n-guide && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .claude/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mobazha/mobazha-unified i18n-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/i18n-guide .agents/skills/i18n-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .agents/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mobazha/mobazha-unified i18n-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/i18n-guide .cursor/skills/i18n-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .cursor/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mobazha/mobazha-unified.git --path .cursor/skills/i18n-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mobazha/mobazha-unified i18n-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/i18n-guide .gemini/skills/i18n-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .gemini/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mobazha/mobazha-unified i18n-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/i18n-guide .github/skills/i18n-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .github/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mobazha/mobazha-unified --skill i18n-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mobazha/mobazha-unified i18n-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mobazha/mobazha-unified.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/i18n-guide .opencode/skills/i18n-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "i18n-guide" agent skill from https://github.com/mobazha/mobazha-unified/tree/main/.cursor/skills/i18n-guide into .opencode/skills/i18n-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "i18n-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
i18n-guideGuide for internationalization development in Mobazha including translation key naming, adding new languages, parameter interpolation, and locale-specific formatting.
I18n Guide is an agent skill from mobazha/mobazha-unified. Guide for internationalization development in Mobazha including translation key naming, adding new languages, parameter interpolation, and locale-specific formatting. Use when adding translations, creating i18n keys, or working with multi-language features, "国际化", "多语言", "翻译", "i18n", "本地化", "添加翻译".
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Internationalization and Translation. The repository describes itself as: Open-source commerce frontend for storefronts, marketplaces, checkout, and seller management. The licence is MPL-2.0.
Read from SKILL.md and the folder at commit 156c699. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
I18n Guide loads about 1.1k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 117 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mobazha/mobazha-unified at commit 156c699, republished under its MPL-2.0 licence (© mobazha). 117 words, ~1,068 tokens.
.claude/skills/i18n-guide/SKILL.md (or your agent's skills folder).Mobazha 项目的多语言开发规范,支持 9 种语言。
packages/core/i18n/
├── i18n.ts # 核心实现:getTranslation(), setLocale(), formatDate()
├── types.ts # TranslationKey, TranslationParams 类型
├── index.ts # 统一导出
└── locales/
├── en.ts # 英语(主语言,所有 key 必须先在此定义)
├── zh.ts # 中文
├── ja.ts # 日语
├── ko.ts # 韩语
├── es.ts # 西班牙语
├── fr.ts # 法语
├── de.ts # 德语
├── ru.ts # 俄语
├── pt.ts # 葡萄牙语
└── index.ts # 统一导出import { useI18n } from '@mobazha/core';
function MyComponent() {
const { t, locale, setLocale, formatDate, formatNumber } = useI18n();
return (
<div>
<h1>{t('order.title')}</h1>
<p>{t('order.itemCount', { count: 5 })}</p>
<p>{formatDate(new Date())}</p>
<p>{formatNumber(1234.56)}</p>
</div>
);
}使用 {{参数名}} 语法:
// en.ts
order: {
itemCount: '{{count}} items in your order',
greeting: 'Hello, {{name}}!',
}
// 使用
t('order.itemCount', { count: 3 }) // "3 items in your order"
t('order.greeting', { name: 'Alice' }) // "Hello, Alice!"模块.功能.描述| 规则 | 示例 | 说明 |
|---|---|---|
| 模块名 | order, wallet, settings, chat | 对应功能模块 |
| 通用词汇 | common.loading, common.error, common.cancel | common 前缀 |
| 导航 | nav.home, nav.orders, nav.wallet | nav 前缀 |
| 按钮 | order.submit, cart.checkout | 动词形式 |
| 标题 | settings.general.title | title 后缀 |
| 占位符 | search.placeholder | placeholder 后缀 |
| 错误消息 | order.error.notFound | error 层级 |
| 状态 | order.status.completed | status 层级 |
// ✅ 好的命名
'common.loading'; // 通用加载
'common.noItems'; // 通用空状态
'order.status.completed'; // 订单状态
'wallet.send.confirm'; // 钱包发送确认
'settings.general.language'; // 设置-通用-语言
'product.price.from'; // 商品价格起始
// ❌ 差的命名
'loading'; // 缺少模块前缀
'orderCompleted'; // 没有用点分隔
'settings_language'; // 用了下划线而不是点
'btn_submit'; // 不要用缩写前缀// packages/core/i18n/locales/en.ts
export const en = {
// ... 已有内容
shipping: {
// ... 已有内容
newFeature: {
title: 'New Feature Title',
description: 'Description of the new feature',
},
},
};如果 TranslationKey 是从 en.ts 自动推断的,无需手动更新类型。
否则需要在 types.ts 中添加新 key。
// packages/core/i18n/locales/zh.ts
shipping: {
newFeature: {
title: '新功能标题',
description: '新功能描述',
},
},优先级:先完成 en.ts 和 zh.ts,其他语言可后续补充。
const { formatDate } = useI18n();
// 使用 locale-aware 格式化
formatDate(new Date('2024-01-15'));
// en: "January 15, 2024"
// zh: "2024年1月15日"const { formatNumber } = useI18n();
formatNumber(1234567.89);
// en: "1,234,567.89"
// de: "1.234.567,89"不要用 i18n 处理货币,使用 useCurrency() hook:
import { useCurrency } from '@mobazha/core';
const { formatPrice, renderPairedPrice } = useCurrency();
formatPrice(amount, 'BTC'); // 正确的货币格式化// ❌ 禁止用语言判断
{
lang === 'zh' ? '中文文本' : 'English text';
}
// ✅ 用同一个 key,不同 locale 文件提供不同翻译
{
t('feature.description');
}t() ?模块.功能.描述 格式?en.ts 中先添加了新 key?{{参数}} 插值?useCurrency() 而非 t()?formatDate() 而非硬编码格式?© mobazha, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/i18n-guide of mobazha/mobazha-unified.
Open the folder on GitHubat commit 156c699
I18n Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| I18n Guide this skillmobazha/mobazha-unified | 165 | — | ~1.1k | Automated safety check: Pass | MPL-2.0 | |
| Chatbox i18n Translatorchatboxai/chatbox | 42k | — | ~508 | Automated safety check: Pass | GPL-3.0 | |
| Internationalization Workflow with i18niOfficeAI/AionUi | 33k | 1 repos | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Enforce Rules For I18nmoeru-ai/airi | 50k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn | 7.5k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Translation ReviewDevolutions/UniGetUI | 26k | — | ~1.3k | Automated safety check: Pass | MIT |
chatboxai/chatbox
Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.
iOfficeAI/AionUi
Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.
moeru-ai/airi
Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.
javaht/claude-desktop-zh-cn
Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.
Devolutions/UniGetUI
Reviews UniGetUI .json language files for localization quality, detects parity issues, English-equal entries, wrong-script content, and cross-language outliers, then generates a dataset for…
langflow-ai/langflow
Add, change, or review user-facing text in the Langflow frontend using the i18n system (i18next / react-i18next).
mobazha/mobazha-unified
Accessibility guide for Mobazha following WCAG 2.1 AA standards including color contrast, reduced motion, ARIA patterns, keyboard navigation, focus management, and screen reader testing.
mobazha/mobazha-unified
Look up Mobazha backend API endpoints, request/response formats, and field mappings.
mobazha/mobazha-unified
Review code for quality, architecture consistency, and adherence to Mobazha project standards using confidence-based filtering.
mobazha/mobazha-unified
Simplify and refine recently written code for clarity, consistency, and maintainability while preserving all functionality.
mobazha/mobazha-unified
Generate commit messages and run pre-commit validation following Mobazha conventions.
mobazha/mobazha-unified
Create and modify UI components following Mobazha conventions including directory structure, spacing standards, accessibility, and testing.
Categories
Guide for internationalization development in Mobazha including translation key naming, adding new languages, parameter interpolation, and locale-specific formatting. I18n Guide is an agent skill from mobazha/mobazha-unified. Guide for internationalization development in Mobazha including translation key naming, adding new languages, parameter interpolation, and locale-specific formatting.
I18n Guide fits situations like: adding translations; creating i18n keys; working with multi-language features.
Run `npx skills add mobazha/mobazha-unified --skill i18n-guide -a claude-code`. Or copy the skill folder (.cursor/skills/i18n-guide in mobazha/mobazha-unified) into .claude/skills/i18n-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mobazha/mobazha-unified --skill i18n-guide -a codex`. Or copy the skill folder (.cursor/skills/i18n-guide in mobazha/mobazha-unified) into .agents/skills/i18n-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mobazha/mobazha-unified --skill i18n-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/i18n-guide, .gemini/skills/i18n-guide, .github/skills/i18n-guide and .opencode/skills/i18n-guide in your project.
SKILL.md names no scripts, command-line tools or credentials: I18n Guide is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
I18n Guide is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with I18n Guide: Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars), Enforce Rules For I18n (moeru-ai/airi, 50k stars) and Claude Desktop Chinese Localization (javaht/claude-desktop-zh-cn, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mobazha (a GitHub organization) maintains it in mobazha/mobazha-unified, which has 165 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 3, 2026.
Source: mobazha/mobazha-unified on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.