Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

RTL support #1

Open
claviska opened this issue Apr 26, 2017 · 2 comments
Open

RTL support #1

claviska opened this issue Apr 26, 2017 · 2 comments

Comments

@claviska
Copy link
Member

I want to make sure everyone can use Postleaf, so RTL language support is imperative.

I'd prefer to only have one default theme and a way to enable RTL. Perhaps by adding a special class on the <body> or by enabling a rtl.css stylesheet that overrides the necessary styles.

@venatoria
Copy link

@claviska How would the system know that the selected language requires RTL rendering?
I suggest adding to the language file a field "rtl":true;
Then based on that (admin and the theme, if supported, trigger the rtl style).

PS. didn't get to it yet.. Working on the Arabic translation now

@claviska
Copy link
Member Author

Just add a directionality property. The default will be assumed to be ltr but for RTL is should look like this:

screen shot 2017-04-29 at 5 05 37 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants