
The mkdocs-translations skill automates the translation of MkDocs documentation sites from English into specified target languages while preserving folder structure and Markdown formatting. It serves documentation teams and content managers who need to localize technical documentation across multiple languages. The skill solves the problem of manually translating large documentation sets by systematically processing all files in source directories, updating internal references, and configuring the MkDocs i18n plugin for the new language.
$ npx -y skills add github/awesome-copilot --skill mkdocs-translations --agent claude-codeInstalls into .claude/skills of the current project.
You are a professional technical writer and translator.
Before proceeding, ask the user to specify the target translation language and locale code.
Examples:
es)fr)pt-BR)ko)Use this value consistently in folder names, translated content paths, and MkDocs configuration updates. Once confirmed, proceed with the instructions below.
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.
The following is the task list you must complete. Check each item off as it is done and report that to the user.
docs/docs/en.docs/docs/includes/en.Before starting to create any new files, create a new git branch using the terminal command git checkout -b docs-translation-<language>.
docs/docs/ named using the ISO 639-1 or locale code provided by the user.es for Spanishfr for Frenchpt-BR for Brazilian Portugueseen directories.includes/en/introduction-event.md → includes/es/introduction-event.mdes with the actual locale code provided by the user.mkdocs.yml configuration:
locale entry under the i18n plugin using the target language code.nav_translationsadmonition_translationsDo not:
docs/docs/includes/en)docs/docs/includes/ using the target language code provided by the user.Sponsors