Logo Translation Coordinator

Translation Coordinator

Cộng đồng
artemnovichkov
translation-coordinator

Điều phối việc dịch dự án Xcode hoặc String Catalog (.xcstrings) sang các ngôn ngữ khác. Đây là kỹ năng chính cần kích hoạt khi được yêu cầu dịch chuỗi, thêm ngôn ngữ hoặc làm việc với tệp .xcstrings. Hỗ trợ toàn bộ quy trình: chuẩn bị dự án cho ngôn ngữ mới, lấy các chuỗi chưa dịch, giao việc dịch và xác minh kết quả.

Add to TypingMind

Tổng quan

Nhà phát hànhartemnovichkov
Kho mãxcode-skills
Tên kỹ năngtranslation-coordinator
Sao
67
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được artemnovichkov công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Translation Coordinator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/artemnovichkov/xcode-skills/tree/main/skills/translation-coordinator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artemnovichkov/xcode-skills.git /tmp/xcode-skills
mkdir -p .claude/skills
cp -r /tmp/xcode-skills/skills/translation-coordinator .claude/skills/translation-coordinator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Translation Coordinator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Translation Coordinator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Translation Coordinator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Localization Coordinator

Orchestrate the translation of an Xcode project by preparing it, fetching untranslated strings, and delegating translation work to sub-agents. Access String Catalogs only through the tools below—never write .xcstrings files directly. Never translate strings directly. Instead, fetch the context that sub-agents need to succeed as translators.

Quick Reference

ToolPurpose
LocalizationPlannerPrepare project for new language (creates String Catalogs, adds locale) or other localization changes
StringCatalogReadGet string keys by translation state (new, needs_review, translated, machine_translated)

Workflow

1. Prepare the Project (Optional)

Call LocalizationPlanner first when adding a new language to a project. Skip if the user instructs you to, or if the user only requested translation of a few specific strings.

If the tool's nextStep output says to build the project, build the project—only building extracts strings from code into newly created String Catalogs.

2. Select Relevant String Catalogs

Identify all String Catalogs relevant to the user's request. If the user's request is very broad, all catalogs may be relevant.

3. Get Strings to Translate

If the prompt already contains per-locale key lists, skip this step, as you have already been given the keys and languages to translate. Otherwise, call StringCatalogRead with the file path, target locale, and requestedState: "new" to get untranslated strings. You can also request "needs_review" or "machine_translated" states to improve existing translations.

If totalForRequestedState exceeds the number of returned keys, paginate by increasing offset until you have collected all keys. Collect all keys before moving to step 4.

The keys are unique identifiers to strings in this String Catalog. Use them exactly as returned by this tool in any operations or operations in sub-agents that you conduct.

4. Delegate Translations

Split the fetched strings into batches and delegate each batch to a sub-agent.

  1. Split the strings you fetched from StringCatalogRead into batches of up to 15 strings each. Smaller batches produce better translations because sub-agents can dedicate more attention to context and terminology per string.
  2. Create sub-agents for each batch. You MUST tell each sub-agent to use the xcode-integration:translation skill to translate their batch. Tell them to skip the LocalizationPlanner tool—you ran it for them.
  3. Limit concurrency to 5 sub-agents at a time. Launch at most 5 sub-agents in parallel, then wait for all of them to complete before launching the next group of up to 5. This prevents overloading the system with too many concurrent translation tasks.
  4. Use the keys exactly as returned by the StringCatalogRead tool, and tell each agent to use them verbatim (including any escaping).
  5. Instruct each sub-agent to invoke the xcode-integration:translation Skill, and provide the target locale, the tab identifier, the String Catalog path, and the key list to them. See the examples below for the exact format.
  6. Forward the user's request, terminology and style choices to sub-agents (they don't have access to the user's original prompt, you have to forward it to them). State that any guidance you include takes precedence over the style guide, and that the sub-agent must still read the style guide as the baseline for anything your guidance and existing translations don't cover.

If you have any string keys that represent an app name (e.g. CFBundleDisplayName, CFBundleName), make sure to put them at the top of the first batch to translate. This way subsequent translations can reuse chosen terminology.

5. Verify Results

Once all sub-agents have completed their tasks, use the StringCatalogRead tool to verify the strings you requested to translate are translated.

Collect anything the sub-agents flagged as needing a code change. Pass these to the user with the key and the catalog, so the call site can be fixed.

Tool Reference

LocalizationPlanner

Prepares an Xcode project for localization. Call this each time you are tasked with adding a language to the project, or to translate an entire project or feature. It is ok to skip this tool if requested explicitly.

What It Does

  1. Adds target language to all localizable containers (projects, packages)
  2. Prepares the project for translation by creating String Catalogs as necessary

Inputs

ParameterTypeRequiredDescription
tabIdentifierStringYesWorkspace tab identifier
targetLocaleIdentifierStringYesLocale identifier (e.g., de, pt-PT)

Outputs

FieldTypeDescription
nextStepStringWhat to do next (e.g. "ready for translation")
stepsFailedString?Failed steps requiring manual intervention
changesMadeString?List of changes successfully made
suggestionsString?Non-blocking suggestions the user may want to follow (e.g., migrate .strings to String Catalogs)
stringCatalogPaths[String]Absolute paths to all String Catalogs in workspace

Follow the instructions in the nextStep field.


StringCatalogRead

Returns string keys grouped by translation state for the requested locale. Includes counts of all string keys grouped by translation state. Supports pagination. Curly apostrophes and quotes are escaped (e.g., \u2019 for curly apostrophe, \u201C for curly quote).

Inputs

ParameterTypeRequiredDefaultDescription
tabIdentifierStringYes—Workspace tab identifier
filePathStringYes—Path to String Catalog (relative or absolute)
targetLocaleIdentifierStringYes—Locale to check translations for (e.g., de, pt-PT)
requestedStateString?NonilState to retrieve: new, needs_review, translated, machine_translated. If omitted, only counts for all states are returned.
keyLimitIntNo50Maximum keys to return
offsetIntNo0Keys to skip (for pagination)

Outputs

Always returned:

FieldTypeDescription
newCountIntUntranslated strings
needsReviewCountIntStrings marked needs review
translatedCountIntHuman-translated strings
machineTranslatedCountIntMachine-translated strings

When requestedState is provided:

FieldTypeDescription
requestedStateStringThe requested state bucket
totalForRequestedStateIntTotal keys in state bucket before pagination
returnedCountIntKeys returned after pagination
keys[String]Array of string keys

A key can appear in multiple state buckets if variants have different states.


Critical Rules

  1. Always delegate translation work to sub-agents. Never write a translation yourself.
  2. Use only String Catalog tools to access .xcstrings files. Never read or write them directly.
  3. Complete the entire task—continue until all requested strings are translated.
  4. Use typographically correct quotes and apostrophes for the target language (e.g., „...“ for German, «...» for French). All curly quotes must be escaped (e.g., \u201E...\u201C for German „...“), as well as apostrophes (e.g. \u2019 for curly apostrophe). NEVER XML-escape the ampersand: write a literal &, NOT &amp;. The same goes for all other HTML/XML entities — never write &lt;, &gt;, &quot;, or &apos;; write the literal <, >, ", ' characters instead. The String Catalog stores Unicode text, not XML, so any &amp; would ship verbatim into the app. Other non-ascii characters do not need extra escaping either.
  5. Do NOT skip strings to save time, even when there are hundreds of strings. Don't skip work or cut corners to save time—rather, focus on accuracy and completeness.
  6. Forward keys into sub-agents exactly as you have received them from the StringCatalogRead tool. Escaped strings with \uXXXX sequences might lose one level of escaping during transit. Keep them double-escaped them so the sub-agent receives the original form.
  7. Locale identifiers: If the user provides an explicit locale code, pass it through verbatim to tool calls and to sub-agents — do not normalize, canonicalize, or swap separators (e.g., if told pt_BR, use pt_BR; if told zh-TW, use zh-TW). If the user only names a language/region in prose (e.g., "Brazilian Portuguese", "Traditional Chinese"), derive a BCP 47 identifier with hyphens (pt-BR, zh-Hant) rather than underscores. The explicit-code rule always wins over the BCP 47 default.

Examples

Entire Project
  1. User requests translating the project into Japanese
  2. Agent calls LocalizationPlanner tool. Once completed, the project is ready for localization.
  3. Agent reviews the returned String Catalog paths and selects only those relevant to the user's request.
  4. Agent uses StringCatalogRead on the relevant String Catalogs to understand what string keys need translating.
  5. Agent divides work among subagents, prompting each subagents with the following:

============ Translate the strings for the following keys into Japanese (ja). Skip running the LocalizationPlanner tool. Do NOT spawn further sub-agents. Translate only the keys listed below. Use the xcode-integration:translation Skill.

IMPORTANT: Use the keys EXACTLY as written below, including all escaping. You must preserve this escaping exactly when passing the key to StringCatalogContext and StringCatalogEdit.

  • Tab identifier:
  • String Catalog: path/to/string/catalog.xcstrings
  • Keys:
key1
key2
key3

============

  1. Once all sub-agents have completed, agent uses StringCatalogRead to verify that each requested string has received a translation.
Specific Strings
  1. User requests translation of specific strings in a specific String Catalog into Japanese.
  2. Agent skips LocalizationPlanner and StringCatalogRead since the user already specified which strings to translate.
  3. Agent divides work among sub-agents, prompting each with the following:

============ Translate the strings for the following keys into Japanese (ja). Skip running the LocalizationPlanner tool. Do NOT spawn further sub-agents. Translate only the keys listed below. Use the xcode-integration:translation Skill.

IMPORTANT: Use the keys EXACTLY as written below, including all escaping. You must preserve this escaping exactly when passing the key to StringCatalogContext and StringCatalogEdit.

  • Tab identifier:
  • String Catalog: path/to/string/catalog.xcstrings
  • Keys:
key1
key2
key3

============

  1. Once all sub-agents have completed, agent uses StringCatalogRead to verify that each requested string has received a translation.

Câu hỏi thường gặp

Kỹ năng AI Translation Coordinator làm được gì?

Điều phối việc dịch dự án Xcode hoặc String Catalog (.xcstrings) sang các ngôn ngữ khác. Đây là kỹ năng chính cần kích hoạt khi được yêu cầu dịch chuỗi, thêm ngôn ngữ hoặc làm việc với tệp .xcstrings. Hỗ trợ toàn bộ quy trình: chuẩn bị dự án cho ngôn ngữ mới, lấy các chuỗi chưa dịch, giao việc dịch và xác minh kết quả.

Vì sao nên dùng Translation Coordinator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Translation Coordinator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Translation Coordinator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/artemnovichkov/xcode-skills/tree/main/skills/translation-coordinator. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Translation Coordinator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Translation Coordinator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Translation Coordinator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Translation Coordinator có miễn phí không?

Kỹ năng này được artemnovichkov phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇