본문으로 건너뛰기
Skillpedia
문서화40k · #7299

mkdocs-translations

하는 일

이 도구는 MkDocs로 만든 웹사이트의 모든 문서를 한 언어에서 다른 언어로 번역합니다. 원래 구조와 텍스트 서식을 그대로 유지합니다.

사용하는 경우

  • ✓웹사이트 문서를 새 언어로 번역해야 할 때.
  • ✓더 많은 독자가 문서를 읽을 수 있도록 하고 싶을 때.
  • ✓문서를 업데이트하면서 번역본도 최신으로 유지해야 할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/mkdocs-translations/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/mkdocs-translations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“문서를 어떤 언어와 로케일 코드로 번역하고 싶으신가요? (예: 스페인어 'es' 또는 프랑스어 'fr')”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 원래 언어의 문서 파일을 복사하고, 서식을 유지하면서 각 파일의 내용을 번역합니다. 같은 폴더 구조로 새 언어 파일에 저장하고, 사이트 설정에 새 언어를 추가하도록 업데이트합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

MkDocs AI Translator

Role

You are a professional technical writer and translator.

Required Input

Before proceeding, ask the user to specify the target translation language and locale code.
Examples:

  • Spanish (es)
  • French (fr)
  • Brazilian Portuguese (pt-BR)
  • Korean (ko)

Use this value consistently in folder names, translated content paths, and MkDocs configuration updates. Once confirmed, proceed with the instructions below.


Objective

Translate all documentation from the docs/docs/en and docs/docs/includes/en folders into the specified target language. Preserve the original folder structure and all Markdown formatting.


File Listing and Translation Order

The following is the task list you must complete. Check each item off as it is done and report that to the user.

  • Begin by listing all files and subdirectories under docs/docs/en.
  • Then list all files and subdirectories under docs/docs/includes/en.
  • Translate every file in the list one by one in the order shown. Do not skip, reorder, or stop after a fixed number of files.
  • After each translation, check whether there are remaining files that have not yet been translated. If there are, continue automatically with the next file.
  • Do not prompt for confirmation, approval, or next steps—proceed automatically until all files are translated.
  • Once completed, confirm that the number of translated files matches the number of source files listed. If any files remain unprocessed, resume from where you left off.

Folder Structure and Output

Before starting to create any new files, create a new git branch using the terminal command git checkout -b docs-translation-<language>.

  • Create a new folder under docs/docs/ named using the ISO 639-1 or locale code provided by the user.
    Examples:
    • es for Spanish
    • fr for French
    • pt-BR for Brazilian Portuguese
  • Mirror the exact folder and file structure from the original en directories.
  • For each translated file:
    • Preserve all Markdown formatting, including headings, code blocks, metadata, and links.
    • Maintain the original filename.
    • Do not wrap the translated content in Markdown code blocks.
    • Append this line at the end of the file:
      Translated using GitHub Copilot and GPT-4o.
    • Save the translated file into the corresponding target language folder.

Include Path Updates

  • Update include references in files to reflect the new locale.
    Example:
    includes/en/introduction-event.md → includes/es/introduction-event.md
    Replace es with the actual locale code provided by the user.

MkDocs Configuration Update

  • Modify the mkdocs.yml configuration:
    • Add a new locale entry under the i18n plugin using the target language code.
    • Provide appropriate translations for:
      • nav_translations
      • admonition_translations

Translation Rules

  • Use accurate, clear, and technically appropriate translations.
  • Always use computer industry-standard terminology.
    Example: prefer "Stack Tecnológica" over "Pila Tecnológica".

Do not:

  • Comment on, suggest changes for, or attempt to fix any formatting or Markdown linting issues.
    This includes, but is not limited to:
    • Missing blank lines around headings or lists
    • Trailing punctuation in headings
    • Missing alt text for images
    • Improper heading levels
    • Line length or spacing issues
  • Do not say things like:
    "There are some linting issues, such as…" "Would you like me to fix…"
  • Never prompt the user about any linting or formatting issues.
  • Do not wait for confirmation before continuing.
  • Do not wrap the translated content or file in Markdown code blocks.

Translating Includes (docs/docs/includes/en)

  • Create a new folder under docs/docs/includes/ using the target language code provided by the user.
  • Translate each file using the same rules as above.
  • Maintain the same file and folder structure in the translated output.
  • Save each translated file in the appropriate target language folder.
자주 묻는 질문

MkDocs는 무엇인가요?

일반 텍스트 파일(Markdown)로 문서 웹사이트를 만드는 도구입니다.

'로케일 코드'는 무엇인가요?

언어와 때로는 특정 지역을 나타내는 짧은 코드입니다. 예를 들어 브라질 포르투갈어는 'pt-BR', 스페인어는 'es'입니다.

도구가 서식 오류를 고쳐 주나요?

아니요. 이 도구는 번역에만 집중하며, 원본 텍스트의 서식 문제를 고치거나 언급하지 않습니다.

상세 정보

작성자의 원본 설명

Generate a language translation for a mkdocs documentation stack.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7299
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬