feat(i18n): complete pt-BR core instructions
This commit is contained in:
1 parent
c667539f10
commit
ad69235f6e
8 files changed
+1377
-119
No files matched your search
@@ -20,6 +20,9 @@ Preferred terms keep the instruction pack consistent with Brazilian gym usage.
|
||||
| repetition / rep | repetição | repetiçãozinha |
|
||||
| bodyweight | peso corporal | peso do corpo, when used as a category |
|
||||
| starting position | posição inicial | posição de partida |
|
||||
| resistance band / band | faixa elástica | banda |
|
||||
| stability ball | bola de estabilidade | bola suíça |
|
||||
| floor / ground | chão | piso |
|
||||
|
||||
Write instructions using Brazilian `você` conventions and neutral imperative
|
||||
forms: `mantenha`, `contraia`, `eleve`, `retorne`. Avoid Portuguese (Portugal)
|
||||
|
||||
@@ -7,11 +7,12 @@ the upstream exercise dataset does not currently ship Portuguese instructions.
|
||||
## Provenance and review status
|
||||
|
||||
The translations are produced from the English instructions in
|
||||
`frontend/src/lib/exercises-data.js` with OpenAI Codex language-model
|
||||
assistance. They are original translations, not copied from another Portuguese
|
||||
exercise dataset. Each batch is checked against the English source and reviewed
|
||||
for Brazilian terminology, but it must not be described as native-speaker
|
||||
reviewed until a named human reviewer has actually completed that review.
|
||||
`frontend/src/lib/exercises-data.js` with language-model assistance from OpenAI
|
||||
Codex and, for larger structured batches, Anthropic Claude Code. They are
|
||||
original translations, not copied from another Portuguese exercise dataset.
|
||||
Each batch is checked against the English source and reviewed for Brazilian
|
||||
terminology, but it must not be described as native-speaker reviewed until a
|
||||
named human reviewer has actually completed that review.
|
||||
|
||||
The translation policy is meaning-faithful rather than word-for-word: preserve
|
||||
the number and order of steps, retain the intended movement and safety cues,
|
||||
@@ -35,3 +36,8 @@ and reviewed. Until then, the released app must continue to show the honest
|
||||
English-instructions notice instead of silently mixing Portuguese and English.
|
||||
|
||||
Use the terminology in `GLOSSARY.md` for every batch.
|
||||
|
||||
For a structured batch, use `scripts/translate-pt-br-stage.mjs` with a dataset
|
||||
body part and limit. It calls Claude in read-only structured-output mode and
|
||||
writes only after every returned ID and step count validates. The normal pack
|
||||
builder and frontend tests remain mandatory after generation.
|
||||
@@ -8,7 +8,7 @@ files.
|
||||
| Stage | Dataset body part | Total exercises | Order |
|
||||
|---:|---|---:|---|
|
||||
| 0 | Foundation sample across categories | 20 translated | Complete |
|
||||
| 1 | Waist / abs / core | 169 | In progress |
|
||||
| 1 | Waist / abs / core | 169 | Complete |
|
||||
| 2 | Chest / pectorals | 163 | Pending |
|
||||
| 3 | Back / lats / upper back | 203 | Pending |
|
||||
| 4 | Shoulders / delts | 143 | Pending |
|
||||
@@ -23,3 +23,9 @@ The body-part stages cover all 1,324 dataset IDs exactly once. The foundation
|
||||
sample already contributes to several stages, so stage progress must exclude
|
||||
IDs already present in the source file. Do not add `pt-BR` to `INSTR_LANGS`
|
||||
until Stage 10 confirms 1,324/1,324 coverage.
|
||||
|
||||
## Checkpoints
|
||||
|
||||
- Stage 1 completed in 2026-08-19: 169/169 waist IDs. Combined corpus progress
|
||||
is 179/1,324 exercises and 996 instruction steps because the foundation
|
||||
sample also contains 10 exercises from later stages.
|
||||
+1242
-107
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user