BR Localisation (Português / Brazil)
Brazilian-Portuguese guides for uma.guide. Served under /br/.
This README is a contributor note, not a site page —
README.mdfiles are excluded from VitePress routing.
Translating a guide
Copy the English guide from
docs/src/guides/<slug>.mdtodocs/src/br/guides/<slug>.md(same filename).Translate only:
- the prose (paragraphs, list items, section headings);
- the
titleanddescriptionfields in the frontmatter (the---block at the top).
Do NOT change:
- Vue components:
<TypeIcon>,<StatBox>,<ImageBox>,<SkillHover>,<Uma>,<SupportCard>, etc. — copy them exactly as-is; - table structure (translate only cell text, where present);
- image paths (
src="...") and values likestats="speed:1600 ..."; - math formulas (
$...$).
- Vue components:
Enable the language toggle. Add the guide's
<slug>to theTRANSLATED_GUIDESset indocs/.vitepress/theme/components/GuideLangSwitch.vue. Without this, the EN / PT-BR button won't appear.Open a Pull Request with both changes (the translated
.md+ theTRANSLATED_GUIDESentry).
Verify locally
npm install
npm run docs:devOpen http://localhost:5173/br/guides/<slug> in the browser. The language toggle (EN / PT-BR) should show at the top of the article and switch between versions.
Translated so far
| Guide | Slug | Status |
|---|---|---|
| Grand Concert | grand-concert | stub (awaiting translation) |
Update this table when a translation is finished.
Known limitations (v1)
- The site chrome (nav, search, guides listing) stays in English on
/br/pages. Only the guide body is translated for now. /br/guides don't appear in search or the guides-listing page — the indexer only readsdocs/src/guides/. Reach them via the language toggle.
These will be addressed when UI localisation (Layer 2) lands.