ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.7k stars 2.85k forks source link

Add RTL support #6525

Open mhrdq8i opened 3 months ago

mhrdq8i commented 3 months ago

name: RTL support about: Support RTL languages title: ''RTL feature to support Persian language and fonts" labels: enhancement


Describe the solution you'd like I think we can use the opensource libraries for it, such as "hurffbuzz" and other.

Describe alternatives you've considered Google Docs and Microsoft Word both are good examples of it.

Additional context Do not forget other languages ;)

SamTV12345 commented 3 months ago

Actually we have RTL support or am I wrong?

image

wobbol commented 2 months ago

2024-08-16-093107_365x331_scrot Arabic seems to render correctly.

SamTV12345 commented 2 months ago

2024-08-16-093107_365x331_scrot Arabic seems to render correctly. This is weird. We have a tracker for all RTL languages: this.rtl = ["ar","dv","fa","ha","he","ks","ku","ps","ur","yi"] fa should be persian isn't it?

And that works image

Maybe try to enter the dev tools and check which language code you mean exactly. Maybe there are dialects of persian which are not in this country code array.