Yida I18n logo

Yida I18n

Organization
openyida
yida-i18n

应用多语言管理。查询和维护宜搭应用的语言配置、文案词条、翻译状态、一键翻译和多语言升级。适用于全球化设置 / 多语言管理页面;需要应用已开通国际化能力包,或运行在 Global YiDA 环境(默认入口为 www.yidaapps.com,且支持客户自定义二级域名)。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-i18n
Stars
228
Forks
50
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openyida on GitHub. Read the source before you install it.

Installation

Install the Yida I18n AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-i18n
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/yida-skills/skills/yida-i18n .claude/skills/yida-i18n
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida I18n in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yida I18n on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yida I18n is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

应用多语言管理

适用场景

当用户需要操作应用后台的“全球化设置 / 多语言管理”时使用本技能,包括:

  • 查询应用是否具备多语言能力、当前语言列表和翻译状态
  • 设置默认语言和启用语言
  • 查询、创建、更新、删除文案词条
  • 为页面绑定多语言词条
  • 调用单条翻译或对目标语言执行一键翻译
  • 对旧应用执行多语言配置升级

前置检查

先执行只读检查:

bash
openyida i18n overview <appType>

重点查看:

  • ability.enabled 是否为 true
  • baseUrl 是否为目标环境;Global YiDA 默认入口是 https://www.yidaapps.com(不是裸域 https://yidaapps.com),但客户可能使用自定义二级域名
  • config.defaultLanguage 和 config.languageList
  • upgraded 是否表示应用已升级到多语言配置

如果 ability.enabled=false,通常说明当前组织未开通国际化能力包,或需要先切到国际版登录态:

bash
openyida login --intl
openyida i18n overview <appType>

常用命令

查询语言配置:

bash
openyida i18n config get <appType>

设置默认语言和启用语言:

bash
openyida i18n config set <appType> --default zh_CN --languages zh_CN,en_US,ja_JP

查看可添加语言:

bash
openyida i18n languages <appType>
openyida i18n languages <appType> --extend

查询词条:

bash
openyida i18n list <appType> --keyword "欢迎" --page 1 --size 20
openyida i18n list <appType> --form-uuid <formUuid> --target-type page

新增或更新词条:

bash
openyida i18n upsert <appType> welcome_title --zh-CN "欢迎" --en-US "Welcome" --ja-JP "ようこそ"

新增或更新词条并绑定页面:

bash
openyida i18n upsert <appType> page_header --zh-CN "工作台" --en-US "Workbench" --bind <formUuid> --target-type page

批量导入词条:

bash
openyida i18n batch-upsert <appType> --file .cache/openyida/<项目名或任务名>/i18n/i18n-items.json

i18n-items.json 先用 create_file / Write / file edit tool 创建到 <projectRoot>/.cache/openyida/<项目名或任务名>/i18n/;不要用 shell heredoc 或重定向写文件。从 workspace 根执行命令时路径加 project/ 前缀。

文件内容示例:

json
[
  {
    "i18nKey": "welcome_title",
    "i18nText": {
      "zh_CN": "欢迎",
      "en_US": "Welcome",
      "ja_JP": "ようこそ"
    }
  }
]

删除词条需要显式确认:

bash
openyida i18n delete <appType> welcome_title --confirm

单条翻译:

bash
openyida i18n translate <appType> --text "欢迎" --source zh_CN --targets en_US,ja_JP

一键翻译会批量写入目标语言,必须显式确认:

bash
openyida i18n translate-all <appType> --targets en_US,ja_JP --confirm

旧应用升级多语言配置也必须显式确认:

bash
openyida i18n upgrade <appType> --confirm

安全规则

  • overview、config get、languages、list 是只读命令,可以直接执行。
  • config set、upsert、batch-upsert、delete、translate-all、upgrade 会写入应用配置或词条;执行前说明影响范围。
  • 删除词条会取消相关多语言绑定,必须带 --confirm。
  • 一键翻译可能覆盖目标语言文案,必须带 --confirm,执行后用 openyida i18n overview <appType> 查看翻译任务状态。
  • 如果目标是 Global YiDA,先确认登录态 baseUrl 属于目标国际站环境或客户自定义二级域名;默认入口是 https://www.yidaapps.com,不要用裸域或国内站 Cookie 调国际站应用。

接口映射

能力CLI后台接口
能力检查overview/query/commodity/checkI18nAbility.json
能力上下文overview/query/commodity/i18nAbilityContext.json
语言配置config get/set/query/appI18n/getAppLanguageConfig.json / /query/appI18n/updateAppLanguageConfig.json
词条查询list/query/appI18n/queryI18nItems.json
页面绑定词条查询list --form-uuid/query/appI18n/getBinded18nItems.json
词条保存upsert/query/appI18n/createOrUpdateI18nItem.json
批量保存batch-upsert/query/appI18n/batchCreateI18nItem.json
绑定词条bind / upsert --bind/query/appI18n/addI18nBinding.json
删除词条delete/query/appI18n/deleteI18nItem.json
单条翻译translate/query/appI18n/translateMultiLang.json
一键翻译translate-all/query/appI18n/translateAllItems.json
翻译状态overview/query/appI18n/checkAppTranslationStatus.json
应用升级upgrade/query/appI18n/upgradeAppI18n.json

Frequently asked questions

What does the Yida I18n AI skill do?

应用多语言管理。查询和维护宜搭应用的语言配置、文案词条、翻译状态、一键翻译和多语言升级。适用于全球化设置 / 多语言管理页面;需要应用已开通国际化能力包,或运行在 Global YiDA 环境(默认入口为 www.yidaapps.com,且支持客户自定义二级域名)。

Why use Yida I18n on TypingMind?

Because you install it once and use it with any model. Yida I18n is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yida I18n in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-i18n. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Yida I18n?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yida I18n?

As many as you like. As long as a model supports skills, you can use Yida I18n with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yida I18n AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇