right-to-left support

Post Reply
hamzahijazi
Posts: 3
Joined: 01 Oct 2020, 10:34

07 Oct 2020, 12:07

We need your help on whom to contact regarding the freya primefaces theme. We do not see that it currently supports right-to-left and we need to know if it is easy for us to add rtl to the theme after we buy it or if rtl will be supported on this theme in the future

mert.sincan
Posts: 4352
Joined: 29 Jun 2013, 12:38

09 Oct 2020, 13:37

Hi,

Thanks a lot for your interest! Ultima and Babylon have RTL orientation. We can make a rtl orientation like in them. Exp; Topbar, Left menu and Right menu can be RTL. Please review;
https://www.primefaces.org/ultima/
https://www.primefaces.org/babylon/

(Note: If this situation is ok for you, we can process this job before our other works.)

Best Regards,

hamzahijazi
Posts: 3
Joined: 01 Oct 2020, 10:34

11 Oct 2020, 16:07

Thank you for the reply. Actually we would like to have full rtl support in freya like in poseidon theme. Can we expect to have this in freya in the future ? Is it in the roadmap ?
Also what does it take for ourselves to develop the full rtl support ? Can you comment on the effort needed ?

mert.sincan
Posts: 4352
Joined: 29 Jun 2013, 12:38

13 Oct 2020, 07:53

Hi,
Actually we would like to have full rtl support in freya like in poseidon theme.
- The RTL is working incorrectly for the components on Poseidon. Because there are components that have some calculations in themselves and this cannot be done with CSS alone. I will remove the CSS that is causing this problem on Poseidon. Our RTL layouts just can change Topbar, Left menu and Right menu structure. Other structures are related to PrimeFaces core. It does not depend on the Layout.
Can we expect to have this in freya in the future ? Is it in the roadmap ?
- Yes for Topbar, Left menu and Right menu
Also what does it take for ourselves to develop the full rtl support ? Can you comment on the effort needed ?
- Firstly, you can use direction: rtl CSS or dir: rtl on the main wrapper element such as body, body's children etc.
https://www.w3schools.com/tags/att_global_dir.asp
https://www.w3schools.com/cssref/pr_text_direction.asp
Then, please invert some css codes;

Code: Select all

left: .. => right: ...; left: auto (to reset left)
margin-left: ... => margin-right: ...; margin-left: 0 (to reset margin-left)
...
Best Regards,

hamzahijazi
Posts: 3
Joined: 01 Oct 2020, 10:34

13 Oct 2020, 12:01

Thank you. Indeed we are very interested in the freya theme/layout and we are in the process of buying the basic license, and we would like to have the rtl at least on the core components
:Topbar, Left menu and Right menu, etc. as soon as possible.

mert.sincan
Posts: 4352
Joined: 29 Jun 2013, 12:38

13 Oct 2020, 13:40

Hi,

Thanks a lot for the update! I'll add it asap.

Best Regards,

Post Reply

Return to “Freya - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest