mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Move feature and webserver documentation into the reorganized hierarchy, update references to their new relative paths, and extend link validation across the complete documentation tree.\n\nThanks to xet7 !
1.3 KiB
1.3 KiB
Right-to-Left (RTL) UI
WeKan has a full right-to-left user interface on every page when an RTL language is selected.
How it works
- When you choose an RTL language, the whole UI mirrors at once.
- The RTL languages are those flagged
rtl: trueinimports/i18n/languages.js: Arabic and its variants, Persian/Farsi, Hebrew, Uyghur, Uzbek-Arabic and Yiddish. - The root
<html>element gets a reactivedir="rtl"/dir="ltr"attribute that follows the chosen language, so the direction (and screen-reader pronunciation) switches instantly. - Component CSS uses CSS logical properties (for example
margin-inline-startinstead ofmargin-left,inset-inline-startinstead ofleft,text-align: startinstead oftext-align: left,float: inline-startinstead offloat: left), so layouts flip automatically withdir.
Changing the language
Use the language selector on the login page, or your member settings, to switch languages. See Change Language.
Related
- Accessibility
- Translations
- RTL tests:
tests/rtl.test.js(fast, server-less) and the Playwrighttests/playwright/specs/18-rtl-layout.e2e.js.