Post Closed
144
Views
3
Comments
[Liverpool Template] RTL web Block
Question
liverpool-template
Web icon
Forge asset by OutSystems
Dears,
I can see that there's RTL web block in Liverpool Theme espace. i want to use it to produce arabic content. There were 2 discussions posted about RTL but it used London templates.

any idea how i can update liverpool layout to show RTL ?

2016-04-21 20-09-55
J.
 
MVP
The layout is telling you that when the currentLocale is "AR", it will use the RTL-webblock, which in effect is loading up the RTL.css.

so what you can do:

- setting the locale to AR
- changing the if-condition in the layout to match your locale.
- remove the if-bloc, keep the RTL.webblock.


UserImage.jpg
Bil Mizan

J. wrote:

The layout is telling you that when the currentLocale is "AR", it will use the RTL-webblock, which in effect is loading up the RTL.css.

so what you can do:

- setting the locale to AR
- changing the if-condition in the layout to match your locale.
- remove the if-bloc, keep the RTL.webblock.


J.

Thanks for your reply, i just came to check if i got an answer to my question, when it's the time to implement this RTL issue. I understand now how to allow this RTL to work, but unfortunately i found the RTL.CSS has only comments and no special adjustment was provided. I don't want to interrupt how the silky UI works by editing manually what i think will help in converting the page from LTR to RTL.

Any advice ?


LiverpoolBase_RTL.png
2018-05-03 15-48-34
Samuel Jesus
Staff
Hello Bil,

J.'s answer is spot on, but let me just add something.

If you decide to go for the approach where you need to change the layout, let me suggest that you copy the layout to your own application. 
If you change it directly on the LiverpoolTheme eSpace, whenever a new version is released, the upgrade process will be a bit more complex, forcing you to manually merge eSpaces.

Cheers,
Samuel Jesus