docs(mintlify): make the site English-only, document the auto-localization path#109
Merged
Merged
Conversation
…ation path Remove the five hand-maintained translated locale trees (ar, hi, cn, zh-CN, zh-Hans) from the Mintlify site and reduce docs.json to a single "en" language. Keeping parallel prose in sync by hand was the main source of documentation drift — every English fix had to be re-applied five times, and any miss left the site lagging the code. Document in mintlify/README.md how to bring translations back the automated way instead: Mintlify's built-in AI auto-localization (write English once, list locale codes in docs.json, enable translation in the dashboard) plus an optional code->docs Workflow. The English-scoped checkMintlify drift guard is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C7htTiesXKLvAUtv6ET2jz
CodeWithJuber
marked this pull request as ready for review
July 21, 2026 07:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
The Mintlify docs site carried five hand-maintained translated locale trees
(
ar,hi,cn,zh-CN,zh-Hans). Keeping parallel prose in sync by hand was themain source of documentation drift — every English fix had to be re-applied five times,
and any miss left the site lagging the code.
This makes the site English-only:
.mdxfiles) and reducesmintlify/docs.jsonnavigation.languagesto a singleenentry.mintlify/README.mdhow to bring translations back the automated wayinstead of hand-maintaining parallel trees: Mintlify's built-in AI auto-localization
(write English once, list locale codes in
docs.json, enable translation in thedashboard) plus an optional code→docs Workflow.
checkMintlifydrift guard insrc/docs_check.jsis unchanged andkeeps working regardless of how many display languages are enabled.
No source/runtime code changed — docs and config only.
Checklist
npm testpasses (Node 18/20/22) — 1072 pass / 2 skipnpm run checkpasses (Biome lint + format) — markdown is not lintedfeat:/fix:/docs:…)CHANGELOG.mdupdated under## [Unreleased]forge substrate,forge impact, router/gate, or MCP substrate tools — n/aRisk & rollback
Extra checks (tick if applicable)
npm run typecheckpassesnode src/cli.js docs checkgreen (English-scoped Mintlify guard) +mintlify broken-linksclean🤖 Generated with Claude Code
https://claude.ai/code/session_01C7htTiesXKLvAUtv6ET2jz
Generated by Claude Code