Skip to content
Merged
17 changes: 11 additions & 6 deletions apps/mobile/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,17 @@ Copy lives in `src/i18n/locales/en.json`. The other 86 catalogs are reviewed
against the screens their keys render on, so a key's name and its context are
what a translator has to work from.

- Add and edit copy in `en.json` only. Never hand-edit another catalog. The one
exception is a value-level correction of a confirmed mistranslation in an
existing non-English entry (a wrong word, not a style preference): fix the
value in place, keep the key name, placeholders, and English copy unchanged,
verify the corrected string on the screen that renders it, and say so in the
pull request. Do not rewrite surrounding entries.
- Add and edit copy in `en.json` only. Never hand-edit another catalog. The
exceptions are value-level edits of an existing non-English entry. For both,
keep the key name, the placeholder set, and the surrounding entries as they
are, and say so in the pull request:
- a confirmed mistranslation, meaning a wrong word rather than a style
preference: fix the value in place, leave the English copy unchanged, and
verify the corrected string on the screen that renders it;
- a change to the meaning of the English copy, or to the surface it names: the
existing value in every catalog now describes the old meaning, so update it
in each of them, using that catalog's own established wording for the new
meaning or surface. `check:i18n` and `check:plurals` still have to pass.
- Search `en.json` for the string before you add a key. If the copy already
exists, reuse that key. `pnpm check:i18n` fails when two keys hold the same copy.
- Put copy used by more than one section under `common.`.
Expand Down
6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/af.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/am.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/ar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/az.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/be.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/bg.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/bn.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/bs.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/ca.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/ckb.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/cs.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/cy.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/da.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apps/mobile/src/i18n/locales/de.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading