Skip to content

Hold back Southern Balochi and any catalog marked right-to-left in i18n:download #787

Open

Description

@ryanwelcher

What problem does this address?

npm run i18n:download holds back right-to-left catalogs, because the app's styles do not support them yet. It decides by slug, using RTL_LANGUAGES in scripts/download-translations.cjs. Southern Balochi (bcc) is not on that list, so it reached 95% and shipped in 2.1.0-beta.1 (#786) although its catalog sets text direction to rtl. Choosing Baluchi in Settings, or an OS that reports bal, gives a half-mirrored window.

What is your proposed solution?

  • Add bcc to RTL_LANGUAGES.
  • Also hold back any catalog whose own text direction entry is rtl, the same signal the app reads, so the next right-to-left locale is not missed the same way.
  • Add a case for both to tests/unit/download-translations.test.cjs.

Then re-run npm run i18n:download in the 2.1.0 bump so bcc.json is removed.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions