/repo-documentation:mkdocs-translationsfrom repo-documentation
Translates MkDocs documentation from English to any locale, mirroring folder structure, updating mkdocs.yml i18n config, and include paths. Use for adding new documentation locales or bulk AI translation.
Ships in repo-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Translate every English MkDocs source file into a target locale, mirror the folder structure, update include paths and mkdocs.yml, and continue automatically until source and translated file counts match.
Use the target translation language and locale code, such as Spanish es, French fr, Brazilian Portuguese pt-BR, or Korean ko. If the user did not provide both a language and a locale code, ask for them before proceeding. Use the locale code consistently in folder names, translated include paths, and MkDocs configuration.
| Source | Target |
|---|---|
docs/docs/en/** | docs/docs/<locale>/** |
docs/docs/includes/en/** | docs/docs/includes/<locale>/** |
Include reference includes/en/introduction-event.md | includes/<locale>/introduction-event.md |
mkdocs.yml i18n plugin | Add locale entry, nav_translations, and admonition_translations. |
Create a branch before writing files:
git checkout -b docs-translation-<language>
docs-translation-<language> with git checkout -b docs-translation-<language> before creating any new files.docs/docs/en.docs/docs/includes/en.docs/docs/<locale>/ and docs/docs/includes/<locale>/.includes/en/... to includes/<locale>/....*Translated using GitHub Copilot and GPT-4o.* at the end of every translated file.mkdocs.yml with the new i18n locale entry, nav_translations, and admonition_translations.| Do | Do not |
|---|---|
| Use accurate, clear, technically appropriate translations. | Do not wrap translated content or whole files in Markdown code blocks. |
| Use computer industry-standard terminology, such as "Stack Tecnológica" rather than "Pila Tecnológica". | Do not comment on or fix Markdown linting issues. |
| Preserve original filenames, folder hierarchy, Markdown formatting, metadata, links, and code blocks. | Do not mention missing blank lines, trailing punctuation in headings, missing alt text, heading levels, line length, or spacing. |
| Continue automatically until all files are translated. | Do not ask for confirmation between files or before continuing. |
| Maintain original code and commands unless the prose around them requires localization. | Do not translate code identifiers, paths, or configuration keys. |
Update only the localization-related configuration required for the new locale:
locale entry under the i18n plugin using the target locale code.nav_translations.admonition_translations.git checkout -b docs-translation-<language> is required first.includes/en/ reference must use the target locale.For Spanish examples, includes/es/introduction-event.md is the concrete rewritten include path.
## MkDocs translation result
**Status:** complete | blocked
**Language:** `<language>`
**Locale:** `<locale>`
**Branch:** `docs-translation-<language>`
### File counts
| Source tree | Source files | Translated files | Status |
| --- | --- | --- | --- |
| `docs/docs/en` | `<count>` | `<count>` | `matched | missing` |
| `docs/docs/includes/en` | `<count>` | `<count>` | `matched | missing` |
### Configuration
- `mkdocs.yml` locale entry: `<added/updated>`
- `nav_translations`: `<added/updated>`
- `admonition_translations`: `<added/updated>`
git checkout -b docs-translation-<language> ran before creating files.docs/docs/en was translated in listed order.docs/docs/includes/en was translated in listed order.*Translated using GitHub Copilot and GPT-4o.*.mkdocs.yml includes the locale entry, nav_translations, and admonition_translations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/add-educational-commentsAdd educational comments to existing code files while preserving encoding, line endings, indentation, syntax, and build correctness. Use this skill when the user asks to annotate a file for learning, add teaching comments, explain code inline, adjust comment detail or repetitiveness, or use Line Number Referencing./comment-code-generate-a-tutorialTransform a Python script into a polished beginner-friendly project by refactoring code, adding instructional comments, and generating a complete README.md tutorial. Use this skill when asked to explain, comment, clean up, teach, or turn a Python script into a tutorial project./convert-plaintext-to-mdnpx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin repo-documentationOther plugins' skills for the same job