mkdocs-translations
- Use it when:
- You want an MkDocs documentation site translated into another language.
- It does:
- Asks for the language and locale code, then translates every file under docs/docs/en and docs/docs/includes/en, one by one, without stopping.
- You get:
- A docs-translation-<language> branch with a mirrored locale folder, updated include paths and a new i18n locale in mkdocs.yml.
- Fits:
- A site with its English sources at exactly those paths and the i18n plugin in mkdocs.yml.
Expects the English sources in docs/docs/en and docs/docs/includes/en, translates every file without stopping to ask, and appends a "Translated using GitHub Copilot and GPT-4o." line to each.
TL;DR
It translates a whole MkDocs documentation set in one go. After you give the target language and its locale code, such as es or pt-BR, it creates a git branch named docs-translation-<language>, lists every file under docs/docs/en and docs/docs/includes/en, and translates them in order into folders named after the locale. It mirrors the English folder structure and keeps file names, headings, code blocks, metadata and links intact. Include references switch to the new locale, and mkdocs.yml gets a new locale entry under the i18n plugin with translated nav_translations and admonition_translations. It prefers standard industry terms, checks off each file as it goes and carries on without asking for confirmation, then compares the number of translated and source files and resumes if any are missing. It ignores Markdown linting problems rather than mentioning them, and ends every translated file with a line crediting GitHub Copilot and GPT-4o.
Summarizes the skill at 797337f.
npx skills add https://github.com/github/awesome-copilot --skill mkdocs-translations skills.sh pageSource on GitHubAll skills from github/awesome-copilot
- Total Downloads
- 8,800 on skills.sh, Nov 9, 2026
- Repo stars
- 40,943 github/awesome-copilot
- First seen
- Feb 25, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 8 |
| Sep 28 | 14 |
| Oct 5 | 13 |
| Oct 12 | 2 |
| Oct 19 | 3 |
| Oct 26 | 3 |
| Nov 2 | 3 |
| Nov 9 | 1 |
| Category |
Articles, docs, internal comms, research write-ups and prose that doesn't read as generated. |
|---|---|
| Type |
A multi-step process the agent follows: interview, debug, run a TDD loop, review. |
| Effect |
Its own steps create or change files, git state or local tools. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
A verified publisher on skills.sh, or the company or maintainer behind the product the skill operates. |
| Topics | |
| Stack |
SKILL.md
From github/awesome-copilot at 797337f. Checked daily, last changed Nov 6, 2026.
Frontmatter
name: mkdocs-translations
description: 'Generate a language translation for a mkdocs documentation stack.'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:esfor Spanishfrfor Frenchpt-BRfor Brazilian Portuguese
- Mirror the exact folder and file structure from the original
endirectories. - 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
Replaceeswith the actual locale code provided by the user.
MkDocs Configuration Update
- [ ] Modify the
mkdocs.ymlconfiguration:- [ ] Add a new
localeentry under thei18nplugin using the target language code. - [ ] Provide appropriate translations for:
- [ ]
nav_translations - [ ]
admonition_translations
- [ ]
- [ ] Add a new
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.