Skip to content

Localisation: right-to-left languages #1139

Done

Description

@ivanfenenko

Follow-up to #1130 / #1138, which translate the app into 56 left-to-right languages.

Scope

Add the right-to-left languages the OpenCode desktop app ships, on iOS and Android, and make the UI follow right-to-left layout guidelines so they ship working.

Language iOS Android
Arabic ar ar
Hebrew he iw
Persian fa fa
Urdu ur ur
Dhivehi dv dv
Punjabi, Shahmukhi script pa-Arab b+pa+Arab

Punjabi uses the Arabic-script code so devices set to Gurmukhi Punjabi don't get Shahmukhi text.

Plan

  1. Translations: add the six languages to scripts/l10n/languages.mjs, Android localeFilters and iOS knownRegions, then translate all strings with the translate skill.
  2. Right-to-left UI pass on both platforms:
    • Swipe gestures follow layout direction (message time reveal, request paging in the composer, list swipe actions, session list dock).
    • Code, diffs, shell output, file paths and commands stay left-to-right; same set on iOS and Android.
    • Visual check of Home, Session Chat, composer, Settings and terminal in a right-to-left locale (Android ar-XB pseudo-locale, iOS right-to-left pseudo-language) and fix what's mirrored wrongly.

Acceptance

  • All six languages have every string on both platforms; scripts/check-translations.mjs passes.
  • Gestures move with the finger in right-to-left layouts on both platforms.
  • Code and paths read left-to-right inside right-to-left screens.
  • Screenshots of both apps in Arabic on the pull request.

Out of scope

Native-speaker review, store listings, Hex Code.

Activity

  1. added
    enhancement
    ios
    android
    on Nov 29, 2026
  2. added 12 commits that reference this issue on Nov 29, 2026
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

    androidenhancementios

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions