I am trying to create a workaround to enable RTL (Right-To-Left) support in web UI (and not reports), It seems that there is no solution for this issue, So i made CSS file to adjust UI direction.
My question is: is there is any way to inject this file based on the current language direction, if so what is the best way to do this.
I am a web developer, new to openERP world! I hope i didn't miss something :)
M. Barsi made this fix for reports : https://github.com/barsi/openerp-rtl
We are really in need for this feature to work, I wish you the best with mission..%
looking forward to your success.
Some friend told me that there is no need to do such workaround, it can be done easily in OpenERP core, but it seems no one cares about it.
Any one solve the problem of the RTL for web clients.
I solved this by editing the main
css
files but it is not recommended to do so. I can share the final css file. There is one other solution,you can add my css file in one of your modules and overwrite everycss
class.I can change the user interface to be rtl ( the side menu will be in the right) by adding (direction: rtl;) to css class (openerp) in base.css file (addons\web\static\src\css\base.css),
but I want this to work with change lang selection from english and arabic and vs
any one can suggest the solution ???
many thanks
@ahmad hegazy We have what you miss about the direction based on the selected language. If you are welling to join and help even make this better, please contact me anas.taji@smartway-jo.com