复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-mkdocs-translations-3c535f01dafb ,按照其中的说明把「mkdocs-translations」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
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.