RTL language Support #2242

Closed
opened 2026-02-05 03:26:48 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Mo-dot2 on GitHub (May 14, 2021).

I'd like to suggest some features to make Bookstack more suitable for RTL (Right-to-left) languages like Arabic, Hebrew, Persian.. etc.

  1. I'd like to see a dedicated button in wysiwyg editor to change writing direction
    currently only shortcuts are supported to change writing direction (ctrl + left shift for left direction and ctrl + right shift for right direction), most users are not aware of such shortcuts so a dedicated button would be more user friendly

  2. I couldn't change header direction, for an RTL language the header should be in the right text alignment.

Currently I don't have my own installation of bookstack, I'm relying on the bookstack demo for testing but if you provide an option for changing language in the demo setting, then I will make more in-depth RTL testing.

Originally created by @Mo-dot2 on GitHub (May 14, 2021). I'd like to suggest some features to make Bookstack more suitable for RTL (Right-to-left) languages like Arabic, Hebrew, Persian.. etc. 1. I'd like to see a dedicated button in wysiwyg editor to change writing direction currently only shortcuts are supported to change writing direction (ctrl + left shift for left direction and ctrl + right shift for right direction), most users are not aware of such shortcuts so a dedicated button would be more user friendly 2. I couldn't change header direction, for an RTL language the header should be in the right text alignment. Currently I don't have my own installation of bookstack, I'm relying on the bookstack demo for testing but if you provide an option for changing language in the demo setting, then I will make more in-depth RTL testing.
Author
Owner

@ssddanbrown commented on GitHub (May 15, 2021):

Hi @Haboubi92,
Text direction controls will appear in the editor one your language is set to a RTL language, and the whole UI (Including the header) will be shown in an RTL format:

Screenshot from 2021-05-15 11-27-03

if you provide an option for changing language in the demo setting, then I will make more in-depth RTL testing.

Unfortunately I can't really easily allow setting edits in the demo since it opens up security/spam issues. If you access the demo site, without logging in, with ar set as your default browser language choice then the demo will show in Arabic but you won't be able to test the editor in this mode.

@ssddanbrown commented on GitHub (May 15, 2021): Hi @Haboubi92, Text direction controls will appear in the editor one your language is set to a RTL language, and the whole UI (Including the header) will be shown in an RTL format: ![Screenshot from 2021-05-15 11-27-03](https://user-images.githubusercontent.com/8343178/118357146-8955d380-b570-11eb-8f6c-842a0d7370d6.png) > if you provide an option for changing language in the demo setting, then I will make more in-depth RTL testing. Unfortunately I can't really easily allow setting edits in the demo since it opens up security/spam issues. If you access the demo site, without logging in, with `ar` set as your default browser language choice then the demo will show in Arabic but you won't be able to test the editor in this mode.
Author
Owner

@Mo-dot2 commented on GitHub (May 15, 2021):

aha
thank you so much ❤ that's very nice

@Mo-dot2 commented on GitHub (May 15, 2021): aha thank you so much ❤ that's very nice
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2242