Skip to content

Add Arabic (ar) locale - #344

Merged
sox8502 merged 2 commits into
alphaXiv:mainfrom
aalquwayfili:add-arabic-locale
Sep 15, 2026
Merged

sox8502 merged 2 commits into
alphaXiv:mainfrom
aalquwayfili:add-arabic-locale

Conversation

@aalquwayfili

@aalquwayfili aalquwayfili commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Closes #343.

Adds Arabic (ar) as the fourth UI language, with a complete catalog translated and self-reviewed by a native Arabic speaker. Arabic uses the same bidirectional text rules as Persian while the app shell, code, and terminal remain left-to-right. Registers Arabic for initial language detection and preserves SSH path direction. Includes rebuilt ui/dist assets.

Validation

  • Localization and style checks, UI typecheck, and production UI build
  • UI tests (162) and dev-slot tests (9)
  • Rust formatting, clippy, locked debug/release builds, and tests (830 passed, 2 ignored)
  • Debug and release source builds report the development telemetry channel
  • Browser comparison of Arabic, Persian, and English; Arabic reload persistence and LTR code rendering
  • Four independent final code reviews (no blockers)
  • GitHub CI on final commit 35d5ad3 (Linux, Windows, version sanity, release plan)

aalquwayfili and others added 2 commits September 15, 2026 14:15
Adds a full Arabic translation of the UI (every message key), registers
"ar" in the inlang locales, and lists العربية in the language picker.

Matches the existing Persian locale: the app renders left-to-right for
all locales today, so this ships the translation without RTL layout,
which would be a separate change affecting Persian too.

Closes alphaXiv#343
@sox8502
sox8502 merged commit 470ab76 into alphaXiv:main Sep 15, 2026
11 checks passed
@rdereparadores rdereparadores mentioned this pull request Sep 15, 2026
10 tasks
@SID-6921 SID-6921 mentioned this pull request Sep 16, 2026
10 tasks
SID-6921 added a commit to SID-6921/OpenResearch that referenced this pull request Sep 16, 2026
pnpm install was blocked in my first pass by a jsr-registry
resolution issue; that's now fixed (see PR discussion), so this
rebuilds the dashboard bundle the same way the merged Arabic
locale PR (alphaXiv#344) did.
sox8502 added a commit that referenced this pull request Sep 16, 2026
* Add Hindi (hi) locale

- ui/messages/hi.json: full translation of all 1175 UI strings,
  validated against scripts/check-i18n.mjs (key parity, placeholder
  parity, no empty values, no HTML entities) and compiled cleanly
  with @inlang/paraglide-js 2.25.0.
- Register hi in project.inlang/settings.json.
- Add the Hindi option to the language picker (SettingsPage.tsx).
- Keep ui/index.html's early locale-detection list in sync, per its
  own comment.

* Regenerate ui/dist with the Hindi locale bundled in

pnpm install was blocked in my first pass by a jsr-registry
resolution issue; that's now fixed (see PR discussion), so this
rebuilds the dashboard bundle the same way the merged Arabic
locale PR (#344) did.

---------

Co-authored-by: Daniel Kim <sox8502@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Arabic (ar) locale

2 participants