fix(i18n): document and validate pt-BR instructions

This commit is contained in:
mzspicoli committed 2026-08-24 18:01:54 +02:00
1 parent 9b72fb7f1e
commit 052ef7e0ba
6 files changed
+64 -7

No files matched your search

+17
View File
@@ -4,6 +4,21 @@
instructions. It is intentionally separate from the upstream-generated packs:
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.
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,
and clarify the referenced limb only when the English would otherwise be
ambiguous in Portuguese. Do not silently repair questionable exercise mechanics
from the source dataset; record those separately for upstream correction.
Add translations in small, reviewable batches. Every translated exercise must
preserve the English instruction-step count. Then regenerate the runtime pack:
@@ -18,3 +33,5 @@ generated `frontend/src/instr/pt-BR.js` exactly matches this source.
Do not add `pt-BR` to `INSTR_LANGS` until all 1,324 exercise IDs are translated
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.