BMAD-METHOD/docs/zh-cn
Alex Verkhovsky e3f935fd6d
fix(docs): community feedback — typo, locale 404s, llms-full (#2091)
* fix(docs): correct Hasselhoff spelling, add locale-aware 404 redirect

Fix "Hasslehoff" → "Hasselhoff" typo in customize-bmad.md across all
three locales (en, zh-cn, fr).

Add client-side locale detection to 404.astro so GitHub Pages serves
the correct localized 404 page instead of always showing English.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(build): exclude translated locales from llms-full.txt

llms-full.txt was including zh-cn and fr docs, tripling the content
with duplicate information in different languages. Restrict to English
only — translations add no value for LLM context consumption.

Reduces output from ~393K to ~114K chars (~29k tokens).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* refactor(i18n): extract locale config to shared module

Move locale definitions from astro.config.mjs into a shared
website/src/lib/locales.mjs consumed by astro config, build-docs,
and 404.astro. Adding a new locale is now a single-file change.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 16:42:57 -06:00
..
explanation docs(zh-cn): correct anchor links to match Chinese headings (#2072) 2026-03-20 11:20:02 -06:00
how-to fix(docs): community feedback — typo, locale 404s, llms-full (#2091) 2026-03-21 16:42:57 -06:00
reference docs: replace quick-flow explainer with quick-dev, remove stale Quick Spec refs 2026-03-18 23:47:49 -06:00
tutorials refactor: consolidate agents into phase-based skill directories (#2050) 2026-03-18 01:01:33 -05:00
404.md feat(i18n): add zh-CN locale support (#1822) 2026-03-06 20:21:43 -06:00
_STYLE_GUIDE.md docs: replace quick-flow explainer with quick-dev, remove stale Quick Spec refs 2026-03-18 23:47:49 -06:00
index.md fix(i18n): point zh-cn doc links to Chinese pages instead of English (#2010) 2026-03-15 16:47:52 -05:00
roadmap.mdx feat(i18n): add zh-CN locale support (#1822) 2026-03-06 20:21:43 -06:00