Skip to content

Add arabic language - #85

Merged
leafOfTree merged 10 commits into
leafOfTree:mainfrom
am6256670-debug:add-arabic-language
Oct 22, 2026
Merged

leafOfTree merged 10 commits into
leafOfTree:mainfrom
am6256670-debug:add-arabic-language

Conversation

@am6256670-debug

@am6256670-debug am6256670-debug commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Arabic (العربية) as a selectable language in WindowTabs settings.
  • Translate interface text for common controls, tab menus, settings pages, shortcuts, workspaces, and diagnostics.
  • Include Arabic translations in the localized text search.
  • Translate dynamic labels and common error messages while preserving file paths, application names, and technical details.
  • Keep English as a fallback for text that does not have an Arabic translation.

Notes for Review

This is an initial Arabic localization contribution. Please review the Arabic wording and verify the language selection and build compatibility.

Please also review right-to-left (RTL) layout and text alignment. This change adds Arabic translations but does not yet implement a complete RTL layout for the entire interface.

A full build and UI test have not been performed by the contributor.

am6256670-debug and others added 10 commits October 22, 2026 00:25
Arabic is now a field of LocalizedText like English, Chinese and Japanese, so a missing Arabic translation fails the build. This replaces the English-keyed lookup table and its prefix rules, which could translate part of a sentence and silently fell back to English whenever an English string changed.
Arabic text is drawn inside a right-to-left embedding, so a sentence that contains a Latin word or ends with a full stop reads in the right order in labels, menus and custom-drawn controls. The layout is not mirrored. File dialog filters and saved group names use the text without direction marks.
Use consistent terms for the window switcher and shortcuts, write descriptions as full sentences, and show Esc as an instruction instead of keeping English word order.
@leafOfTree
leafOfTree merged commit 087a27a into leafOfTree:main Oct 22, 2026
6 checks passed
@leafOfTree

Copy link
Copy Markdown
Owner

Thanks for adding the Arabic language.
Made some adjustments. Maybe a complete RTL layout in the future.

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.

2 participants