Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilanguage with LTR and RTL languges #281

Open
ahangarha opened this issue May 5, 2020 · 2 comments
Open

Multilanguage with LTR and RTL languges #281

ahangarha opened this issue May 5, 2020 · 2 comments

Comments

@ahangarha
Copy link

As far as I see, docute's layout is basically LTR which is why another project is forked from it to support RTL (only). I see docute supports multi-language but it is for LTR languages. What if one of the languages be RTL like Persian, Arabic, Urdu,...? Does it support? If not, how to do so?

@egoist
Copy link
Owner

egoist commented May 7, 2020

I've no idea how to add RTL support, but PR welcome. That fork looks pretty nice maybe you can use that directly?

@ahangarha
Copy link
Author

ahangarha commented May 8, 2020

I can help with some part, not all. If you can manage to detect if the selected language belongs to RTL ones (including Persian, Arabic, Urdu,...) and if so, load an additional css, I think I can manage the rest.

I cannot use the Farsi (Persian) fork as it is doing somehow the same thing: forcing one direction which is RTL in that case. What I am proposing is somehow load docute-fa if language is RTL.

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

No branches or pull requests

2 participants