Skip to content

Translations: catalogs and Android i18n lag the sources #179

Description

@JumpLink

What is behind

Running gjsify workspace @learn6502/translations build on a clean main produces changes nobody has committed:

  • The POT gains 4 msgidsDino Run, Line Buster 6502, The offline browser run game made for 5602 assembly, Break the blocks with the paddle and ball. They came in with Examples: add line-buster-6502 (from issue #171) #174 and Examples: add dino-run (from issue #169) #175 (dino-run, line-buster-6502) and were never extracted, so no translator has seen them and every language shows them in English.
  • Three Android catalogs are generated but untracked: packages/app-android/app/i18n/pt_BR.json, ta.json, zh_Hans.json. The .po files for those languages exist and are translated; the Android app just never received them, because the generated JSON was not committed. The other sixteen are tracked.
  • packages/translations/LINGUAS is rewritten on every build purely to strip its trailing newline, so any build dirties the tree by one byte.

Why it is not in #178

#178 fixes the build pipeline. Regenerating would rewrite the POT, all sixteen .po files and the sixteen-plus-three Android JSONs as a side effect, and a mechanical 20-file regeneration inside a pipeline fix hides both.

What to do

  1. Fix the source-language typo 5602 (should be 6502) in the line-buster description in packages/examples, so translators never see it.
  2. Run gjsify workspace @learn6502/translations build on a clean tree and commit the result as one regeneration commit.
  3. Add the three missing app-android/app/i18n/*.json.
  4. Decide whether LINGUAS should keep its trailing newline or be committed without one, so the build stops dirtying it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions