Odoo Help

4

5
2 答案
3
头像

Mohammad Alhashash 埃及

--Mohammad Alhashash--
2133
| 6 5 10
October City, 埃及
--Mohammad Alhashash--

Developer

Mohammad Alhashash 埃及
2013/3/2 上午7:14

No. Not yet; it requires a lot of changes in CSS and may be some Javascript. Simple dir = "rtl" attribute around some tags does not work because most styles assume left-to-right direction.

3 注释
maladdin 埃及
2013/3/13 上午6:46

how i can import css file depending on user current language

Mohammad Alhashash 埃及
2013/3/13 上午7:15

OpenERP does not set language attribute. The best method is to create a web module to set language attribute on <html> tag and use attribute or :lang selector on your styles. That way, you can add css normally and it will be effective only when the target language is used.

ahmed hegazy 埃及
2014/4/16 上午6:53

thank you Mohamed ,can you please explain more , 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

0
头像

Yannick Vaucher 瑞士

--Yannick Vaucher--

1834
| 5 7 11
Lausanne, 瑞士
--Yannick Vaucher--


Yannick Vaucher 瑞士
2014/1/20 下午12:43
提问
Writer
Keep Informed
2 关注者(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now