BMAD-METHOD/docs/fr
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: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
how-to fix(docs): community feedback — typo, locale 404s, llms-full (#2091) 2026-03-21 16:42:57 -06:00
reference docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
tutorials docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
404.md docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
_STYLE_GUIDE.md docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
index.md docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00
roadmap.mdx docs: i18n: Add complete French translation (#2073) 2026-03-20 17:10:49 -06:00