Skip to content

Comments

feat(i18n): add Arabic (ar-SA) translation#2782

Open
bigdizaya wants to merge 1 commit intoChainlit:mainfrom
bigdizaya:feat/add-arabic-translation
Open

feat(i18n): add Arabic (ar-SA) translation#2782
bigdizaya wants to merge 1 commit intoChainlit:mainfrom
bigdizaya:feat/add-arabic-translation

Conversation

@bigdizaya
Copy link

@bigdizaya bigdizaya commented Feb 16, 2026

Summary

  • Add complete Arabic (ar-SA) translation file (backend/chainlit/translations/ar-SA.json)
  • All keys match the en-US.json reference structure
  • Arabic is one of the most spoken languages worldwide (400M+ native speakers) and is currently missing from Chainlit's supported translations

Details

This PR adds a single translation file following the exact same pattern as other translation PRs (#1322 he-IL, #2308 fr-FR, #2458 es, #2517 de-DE, #2534 ko, #2646 it).

The translation covers all UI sections:

  • Common actions (cancel, confirm, submit, etc.)
  • Authentication (login form, errors, OAuth)
  • Chat interface (input, favorites, commands, speech, file upload, messages, feedback)
  • Thread history (sidebar, timeframes, thread actions: share, delete, rename)
  • Navigation (header, new chat, user menu)
  • API keys, alerts, components

Note on RTL

This PR focuses on translation only. RTL (right-to-left) layout support would be a separate, more involved change. Adding the translation file is the first step — it enables Arabic-speaking users to see UI text in their language, even if the layout direction remains LTR for now.

Closes #2781

Test plan

  • Verify the JSON file is valid and matches the en-US.json structure
  • Set browser language to ar-SA and confirm translations load via /project/translations?language=ar-SA

🤖 Generated with Claude Code


Summary by cubic

Add full Arabic (ar-SA) translation for the Chainlit UI with keys mirroring en-US.json. This fulfills #2781 by enabling Arabic text; RTL layout will be handled separately.

  • New Features
    • Added backend/chainlit/translations/ar-SA.json with full parity to en-US.json.
    • Covers common actions, auth, chat, thread history, navigation, API keys, alerts, and components.

Written for commit 58ed9df. Summary will update on new commits.

Add complete Arabic (ar-SA) translation file for the Chainlit UI.
All keys match the en-US.json reference structure.

Closes Chainlit#2781

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. backend Pertains to the Python backend. labels Feb 16, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@dokterbob dokterbob added the translation Translation or localisation of strings. label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Pertains to the Python backend. size:L This PR changes 100-499 lines, ignoring generated files. translation Translation or localisation of strings.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Native Arabic Support (Localization + RTL)

3 participants