본문으로 건너뛰기
cccskills
무료GitHub에 공개

i18n-translate

Translate selected FastGPT interface text files from Simplified Chinese into every supported target locale. Check product terminology and interface context, preserve JSON structure and placeholders, and validate the translated files for consistency.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Translate one, multiple, or all explicitly requested FastGPT i18next namespace JSON files from the completed Simplified Chinese source into every supported target locale, with product-language research and structural validation. Use only when the user explicitly invokes `$i18n-translate` and identifies namespace names, files under `packages/web/i18n/zh-CN/`, or all namespaces; never trigger implicitly for ordinary i18n, copywriting, or documentation work.

설치 방법 보기

이럴 때 유용합니다

  • Translating a selected interface text file into all supported locales
  • Updating several translation files together
  • Translating every namespace from completed Chinese source text
  • Checking terminology, variables, and translation file structure

포함된 파일(5)

  • SKILL.md5.1 KB
  • agents/openai.yaml289 B
  • references/fastgpt-glossary.json16.3 KB
  • references/translation-guidelines.md4.7 KB
  • scripts/validate-namespace.mjs10.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

FastGPT i18n Namespace Translation

Treat packages/web/i18n/zh-CN/<namespace>.json as the semantic and structural source of truth. Translate the specified namespace into all sibling locale directories without changing runtime behavior.

Before translating, read both of these references completely:

Workflow

1. Resolve and constrain the scope

  • Require explicit namespace names, source files, or all from the user.
  • Resolve a bare namespace such as app to packages/web/i18n/zh-CN/app.json.
  • Resolve all to every JSON file directly under packages/web/i18n/zh-CN/, sorted by filename.
  • Reject a source outside zh-CN; ask for the Simplified Chinese source instead.
  • Discover target locales from sibling directories under packages/web/i18n/, excluding zh-CN.
  • Edit only the selected namespace files. Create a missing target namespace file when its locale directory already exists, but never create a new locale.
  • Preserve unrelated user changes already present in target files.

2. Establish product meaning before wording

  • Read the complete Chinese source and every existing target file.
  • Use rg to find how the same product concept is translated elsewhere in packages/web/i18n/en/.
  • Inspect call sites for ambiguous labels, actions, state names, errors, or placeholders. Determine whether the text is a button, heading, status, description, toast, or validation message.
  • Follow this evidence order: the FastGPT glossary; feature behavior and UI context; nearby translation style; official n8n or Dify English product language; general technical usage.
  • Match the longest glossary term first. A compound such as 知识库引用 overrides the separate entries for 知识库 and 引用.
  • Treat forbidden glossary translations as errors. If a needed FastGPT product concept is missing from the glossary, report it instead of inventing a new canonical term.
  • Never copy competitor terminology merely because it exists. If evidence still conflicts, pause and ask the user about the specific term.

3. Translate locale by locale

  • Keep JSON keys, nesting, key order, value types, and formatting aligned with the Chinese source.
  • Preserve interpolation variables such as {{name}}, rich-text tags such as <bold>, URLs, literal escape sequences, and intentional line breaks exactly.
  • Align each target's key set with the Chinese source. Remove a target-only key only after confirming it is absent from the complete source file; do not infer from a partial snippet.
  • For en, write concise, natural North American product English. Translate intent rather than syntax, use sentence case by default, and favor familiar product terms over literal Chinese constructions.
  • For zh-Hant, write region-neutral, natural Traditional Chinese rather than applying blind character conversion. Prefer established repository terminology when regional variants differ.
  • For future locales, use native product language for that locale. If reliable translation is not possible, pause before editing and ask whether to omit that locale or wait for a qualified reviewer; do not silently deliver a partial locale set.
  • Reuse one translation for one product concept unless the UI context genuinely changes its meaning.
  • When the same term is inconsistent outside the specified namespace, report the finding but do not modify another namespace without the user's approval.

4. Validate before finishing

Run the bundled validator from the repository root:

node .agents/skills/system/i18n-translate/scripts/validate-namespace.mjs \
  packages/web/i18n/zh-CN/<namespace>.json

For all, run the validator once for every source namespace and require every run to finish with zero errors and zero warnings.

Then:

  • Format only the changed namespace JSON files with the repository formatter.
  • Run the validator again after formatting.
  • Review git diff -- <source-and-target-files> for mistranslation, accidental key changes, stale values, inconsistent capitalization, and unrelated edits.
  • Search the English target for untranslated Han text. Treat valid Chinese brand names or user-visible examples as reviewed exceptions, not automatic failures.
  • Do not run the full test suite for translation-only changes unless the user requests it or code/configuration outside locale JSON also changed.

Completion response

Report:

  • the namespace and locales translated;
  • files created or updated;
  • validation commands and results;
  • any intentionally retained source-language text or unresolved terminology.

Do not write a separate summary document.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Integrate new FastGPT resources, such as AgentSkill or Plugin, with permission management. Choose an integration guide based on resource hierarchy and permission inheritance, locate the relevant code, and review a checklist for missing implementation steps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding permission support to a new FastGPT resource
  • Choosing an integration path based on permission inheritance
  • Finding code locations for permission definitions and checks
labring/FastGPT3만2026년 10월 19일 업데이트

Develop and review FastGPT APIs with consistent input and output checks, TypeScript types, and OpenAPI documentation. It guides the use of Zod schemas, definitions that describe and validate data, alongside permission checks and reusable structures.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding a new FastGPT API route
  • Changing API inputs or responses
  • Reviewing API validation and documentation
labring/FastGPT3만2026년 10월 19일 업데이트

Keep FastGPT build and test workflows aligned across GitHub Actions and Forgejo Actions. Adapt registry destinations, credentials, proxy settings, and platform-specific steps so the corresponding workflows support the internal network environment.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Synchronizing CI changes across GitHub and Forgejo
  • Adapting image builds for an internal network
  • Checking pull requests for missing workflow updates
labring/FastGPT3만2026년 10월 19일 업데이트

Retire a FastGPT workflow node while preserving existing workflows. The skill guides changes to templates, execution handlers, and interface references so the node disappears from creation menus but still loads, runs, and displays a replacement notice.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Retiring a FastGPT workflow node
  • Hiding a node from creation menus
  • Preserving existing workflows during node retirement
labring/FastGPT3만2026년 10월 19일 업데이트

doc-i18n

무료

Translate FastGPT documentation from Chinese into natural English for North American readers. Follow the shared product glossary, preserve document structure and code, synchronize navigation files, and check for missing translations or English pages that need updates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Updating English docs after changes to Chinese pages
  • Translating a specified documentation folder
  • Synchronizing English navigation with translated pages
labring/FastGPT3만2026년 10월 19일 업데이트

Deploy FastGPT on your own server using its official installation script and Docker Compose, which runs its services together. Check service health and access, investigate deployment problems, and receive the access URL, initial login details, and next steps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Setting up FastGPT on your own server
  • Checking service health after deployment
  • Investigating port conflicts or container startup failures
labring/FastGPT3만2026년 10월 19일 업데이트

labring의 스킬 모두 보기

이 스킬의 문제 신고