بنقرة واحدة
i18n
Internationalization and localization assistance for multi-language applications
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Internationalization and localization assistance for multi-language applications
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Comprehensive code review focusing on quality, security, and best practices
Generate comprehensive documentation for code, APIs, and projects
Generate clear, conventional commit messages and manage Git workflows
Identify code smells and suggest refactoring improvements
Generate comprehensive test cases following TDD principles
| name | i18n |
| description | Internationalization and localization assistance for multi-language applications |
| allowed-tools | ["Read","Write","Grep","Glob"] |
| origin | bundled |
| version | 1.0.0 |
Assist with internationalization and localization of applications, including translation management, locale handling, and i18n best practices.
// en.json
{
"common": {
"welcome": "Welcome",
"save": "Save",
"cancel": "Cancel",
"error": "An error occurred"
},
"auth": {
"login": "Log In",
"logout": "Log Out",
"email": "Email Address",
"password": "Password"
}
}
// zh-CN.json
{
"common": {
"welcome": "欢迎",
"save": "保存",
"cancel": "取消",
"error": "发生错误"
},
"auth": {
"login": "登录",
"logout": "退出登录",
"email": "电子邮箱",
"password": "密码"
}
}
Bad:
<button>Save</button>
Good:
<button>{t('common.save')}</button>
locales/
├── en/
│ ├── common.json
│ ├── auth.json
│ └── settings.json
└── zh-CN/
├── common.json
├── auth.json
└── settings.json
{
"items": {
"zero": "No items",
"one": "{{count}} item",
"other": "{{count}} items"
}
}
{
"greeting": "Hello, {{name}}!",
"itemsInCart": "You have {{count}} items"
}
const date = new Date();
date.toLocaleDateString('en-US'); // "3/15/2026"
date.toLocaleDateString('zh-CN'); // "2026/3/15"
const amount = 1234.56;
amount.toLocaleString('en-US', { style: 'currency', currency: 'USD' }); // "$1,234.56"
amount.toLocaleString('zh-CN', { style: 'currency', currency: 'CNY' }); // "¥1,234.56"
Bad:
const msg = t('hello') + ' ' + userName;
Good:
const msg = t('greeting', { name: userName });
Bad:
<p>Welcome to our app</p>
Good:
<p>{t('common.welcome')}</p>
Always provide fallback language for missing translations.