Osclass icon indicating copy to clipboard operation
Osclass copied to clipboard

rtl version

Open mngzir opened this issue 2 years ago • 5 comments

Hello I am the Persian language developer of osclass We added the rtl version in 3.7.4 osclass I try to add in this system Help if you have added a function for rtl in the core

mngzir avatar Jan 12 '22 12:01 mngzir

Sorry wrongly tagged this issue.

navjottomer avatar Feb 10 '22 01:02 navjottomer

Sorry for the late reply, I have been extremely busy in the last 2 months. We currently don't have any function directly knowing the language direction. However, you can use this function to get the whole array of current user locale which have information of language direction. osc_get_current_user_locale();

navjottomer avatar Feb 10 '22 01:02 navjottomer

We want to add rtl to the core osclass Please add the rtl version of Bootstrap to the core All languages that are rtl easily supported

I checked the style file but the rtl version of Bootstrap was not included Which version of Bootstrap do you use?

mngzir avatar Feb 17 '22 08:02 mngzir

I see it isn't included. We are using Bootstrap 5 for backend.

navjottomer avatar Feb 18 '22 09:02 navjottomer

Bootstrap version 5 supports rtl well, you just need to add the latest version to the core It is enough to Rtl the core with the function you said osc_get_current_user_locale(); check it https://getbootstrap.com/docs/5.1/getting-started/rtl/

mngzir avatar Feb 23 '22 16:02 mngzir