Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
17377 Переглядів

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 every css 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

Автор Найкраща відповідь

Mohammed Barsi created this nice patch

And i am going to share my rtl.css.

Solved, thank you!

Аватар
Відмінити

Great work Obay, under testing..%

But you didn't tell how to make injection for both the all.patch and the rtl.css files and make them work. for example I have OpenERP 7 installed in windows 7 all-in-one setup, how to install the files on it?? clarification appreciated.

Mr.Obay ... how to use or inject the rtl.css file in openerp7.0 , i followed the patches created by Mr.Mohammed Barsi but where to place the rtl.css file...

Найкраща відповідь

is there any patch for OE8 ?

Also would like to tell that the CSS code should be appended to the base.css file as many people asking about where to add this.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
9613
1
бер. 15
10474
0
бер. 15
3710
2
лип. 25
1205
1
трав. 25
760