mkdocs-translations
Qué hace
Esta herramienta traduce toda la documentación de un sitio web creado con MkDocs de un idioma a otro. Conserva la estructura original y el formato del texto.
Cuándo usarla
- ✓Cuando necesitas traducir la documentación de tu sitio web a un nuevo idioma.
- ✓Para que la documentación llegue a un público más amplio.
- ✓Cuando actualizas la documentación y necesitas mantener las traducciones al día.
Link de la skill
https://github.com/github/awesome-copilot/blob/main/skills/mkdocs-translations/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿A qué idioma y con qué código de configuración regional quieres traducir la documentación (por ejemplo, español 'es' o francés 'fr')?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La herramienta copia los archivos de documentación del idioma original, traduce el contenido de cada archivo manteniendo el formato y lo guarda en el nuevo idioma, siguiendo la misma estructura de carpetas. También actualiza la configuración del sitio para incluir el nuevo idioma.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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: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.
Preguntas frecuentes
¿Qué es MkDocs?
MkDocs es una herramienta que crea sitios web de documentación a partir de archivos de texto sencillos (Markdown).
¿Qué son los 'códigos de configuración regional'?
Son códigos cortos que identifican un idioma y, a veces, una región concreta, como 'pt-BR' para portugués de Brasil o 'es' para español.
¿La herramienta corrige los errores de formato?
No, la herramienta se centra solo en la traducción y no corrige ni comenta los problemas de formato del texto original.
Detalles
Descripción original del autor
Generate a language translation for a mkdocs documentation stack.
repo: github/awesome-copilot
Popularidad
- Estrellas en GitHub
- 40 mil
- Posición en el ranking
- #7299
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
acquire-codebase-knowledge
40 milAyuda a tu agente a entender y documentar un proyecto de código existente. Es útil para incorporar a nuevas personas o tener una visión general de la arquitectura.
acreadiness-assess
40 milPermite a tu agente evaluar qué tan preparado está un proyecto para la IA y generar un informe. Es útil para saber qué tan bien está listo un proyecto para usar herramientas de IA.
acreadiness-generate-instructions
40 milAyuda a tu agente a crear instrucciones para herramientas de IA basadas en una evaluación. Es útil para mejorar cómo la IA interactúa con el código y cerrar las brechas detectadas.
acreadiness-policy
40 milPermite a tu agente ayudar a definir o aplicar políticas para la evaluación de proyectos de IA. Es útil para estandarizar cómo se evalúan los proyectos y garantizar el cumplimiento.
Skills parecidas
technical-documentation
394 milAyuda a tu agente a escribir y revisar documentación técnica clara y archivos de instrucciones para agentes, para que personas y herramientas de IA puedan seguirlos fácilmente.
architecture-decision-records
280 milHace que tu agente registre las decisiones importantes sobre la estructura del proyecto. Así se entiende el motivo de cada elección y se mantiene un historial claro.
code-tour
280 milPermite que tu agente cree recorridos paso a paso por el código, con referencias exactas a archivos y líneas. Útil para introducciones, explicaciones y revisiones.