Mkdocs translations

From github/awesome-copilot · View interactive version

Mkdocs translations is an AI agent skill from the GitHub repository github/awesome-copilot. Generate a language translation for a mkdocs documentation stack.

How to use this skill

Skill file

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:

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.


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>.

Examples:

Translated using GitHub Copilot and GPT-4o.


Include Path Updates

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


Translation Rules

Example: prefer "Stack Tecnológica" over "Pila Tecnológica".

Do not:

This includes, but is not limited to:

_"There are some linting issues, such as…"_

_"Would you like me to fix…"_


Translating Includes (`docs/docs/includes/en`)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.