用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill i18n命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | i18n |
| description | Internationalization and localization |
| license | MIT |
| metadata | {"audience":"developers","category":"software-development"} |
When building applications that need to support multiple languages, regions, or cultural preferences.
i18n: Internationalization - code preparation
l10n: Localization - language/region adaptation
// Translation keys
t('greeting', { name: 'John' })
// en.json: "Hello, {name}!"
// es.json: "¡Hola, {name}!"
// Pluralization
t('items', { count: n, plural: true })
// en: 1 item, 5 items
// ru: 1 предмет, 5 предметов
# Python
from babel import Locale
from django.utils import translation
# JavaScript
import i18next from 'i18next';
import { IntlMessageFormat } from 'intl-messageformat';
# Java
import java.text.MessageFormat;
import java.util.Locale;
[dir="rtl"] {
direction: rtl;
text-align: right;
}
/* Swap left/right specific styles */
.sidebar { margin-left: 1rem; }
[dir="rtl"] .sidebar { margin-right: 1rem; }
Dates: en-US: 1/15/2026, en-GB: 15/01/2026
Numbers: en: 1,234.56, de: 1.234,56
Currency: $1,234.56, €1.234,56