You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs chrome still speaks English inside localized pages: fumadocs' hard-coded aria-labels, English page-tree names without lang="en", no zh-Hant 404 copy #305
Found while #298 was staged on 2026-10-06 (build cd2af9f), so this is the same defect family as #298. #298 localizes the visible chrome strings and marks fallback page content lang="en". Four gaps remain, and they need different mechanisms. Priority: P2. It is an accessibility (WCAG 3.1.2) and localization defect.
Hard-coded English accessible names. Every locale page serves fumadocs-ui's built-in names in English inside <html lang="xx">, for example /de/docs/build/agents:
fumadocs-ui 16.8.12 hard-codes them (e.g. dist/layouts/shared/slots/search-trigger.js:19), outside its Translations API.
Fix: slot overrides, or a pinned patch, that take the names from lib/ui-text.
English page-tree names with no language marked. On a fallback page the sidebar, breadcrumb and prev/next footer render English page names with no lang="en". Examples are "Backup and Disaster Recovery" on /zh-Hans/docs/operate/backup, plus 28 more in zh-Hans and 53 per locale in ja, de, es, fr and ko. axe has no language-of-parts rule, so it stays green.
Fix: a page-tree transform in docs/layout.tsx that marks untranslated entries.
No zh-Hant 404 text.app/not-found.tsx's COPY table has no zh-Hant entry, so zh-Hant shows English 404 text.
Fix: derive it the way ui-text/zh-Hant.json is (gen-zh-hant).
"Open in ChatGPT / Claude" on translated pages points at the English .mdx.
Found while #298 was staged on 2026-10-06 (build
cd2af9f), so this is the same defect family as #298. #298 localizes the visible chrome strings and marks fallback page contentlang="en". Four gaps remain, and they need different mechanisms. Priority: P2. It is an accessibility (WCAG 3.1.2) and localization defect.Hard-coded English accessible names. Every locale page serves fumadocs-ui's built-in names in English inside
<html lang="xx">, for example/de/docs/build/agents:fumadocs-ui 16.8.12 hard-codes them (e.g.
dist/layouts/shared/slots/search-trigger.js:19), outside its Translations API.Fix: slot overrides, or a pinned patch, that take the names from
lib/ui-text.English page-tree names with no language marked. On a fallback page the sidebar, breadcrumb and prev/next footer render English page names with no
lang="en". Examples are "Backup and Disaster Recovery" on/zh-Hans/docs/operate/backup, plus 28 more in zh-Hans and 53 per locale in ja, de, es, fr and ko. axe has no language-of-parts rule, so it stays green.Fix: a page-tree transform in
docs/layout.tsxthat marks untranslated entries.No zh-Hant 404 text.
app/not-found.tsx's COPY table has no zh-Hant entry, so zh-Hant shows English 404 text.Fix: derive it the way
ui-text/zh-Hant.jsonis (gen-zh-hant)."Open in ChatGPT / Claude" on translated pages points at the English
.mdx.Fix: decide this with 290 English-fallback locale URLs render English under lang="xx" with no notice, and the docs chrome (search, TOC, Copy Markdown, language picker) is English in every locale #298's Copy Markdown choice, which is to inline the locale Markdown. Point at that, or say in the UI that the source is English.
Done looks like
lang="en".Order
After #298 lands.
Generated by Claude Code