BMAD-METHOD/docs/zh-cn/how-to
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
..
customize-bmad.md fix(docs): community feedback — typo, locale 404s, llms-full (#2091) 2026-03-21 16:42:57 -06:00
established-projects.md refactor: consolidate agents into phase-based skill directories (#2050) 2026-03-18 01:01:33 -05:00
get-answers-about-bmad.md refactor: consolidate agents into phase-based skill directories (#2050) 2026-03-18 01:01:33 -05:00
install-bmad.md docs(zh-cn): remove slash prefix from skill examples in code blocks (#1893) 2026-03-11 03:45:35 -06:00
non-interactive-installation.md refactor(installer): remove dead agent compilation pipeline (#2080) 2026-03-20 22:52:02 -06:00
project-context.md docs: fix duplicate sidebar order number (#2071) 2026-03-20 11:38:35 -06:00
quick-fixes.md docs: rewrite quick-fixes how-to around Quick Dev workflow 2026-03-19 00:05:30 -06:00
shard-large-documents.md docs: fix duplicate sidebar order number (#2071) 2026-03-20 11:38:35 -06:00
upgrade-to-v6.md feat(i18n): add zh-CN locale support (#1822) 2026-03-06 20:21:43 -06:00