Hello Switching between directions in Openerp (Setting->Languages->Direction->Right-to-left), doesn't work. Is there any solution ? Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
how i can import css file depending on user current language
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.
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
A workaround is proposed in https://accounts.openerp.com/forum/Help-1/question/4849
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
How to define the thousands separator?
Rozwiązane
|
|
15
kwi 23
|
71404 | |
|
0
mar 15
|
3882 | ||
Page Direction for RTL languages in ODOO 17
Rozwiązane
|
|
8
mar 25
|
15295 | |
|
2
gru 24
|
17198 | ||
|
1
mar 15
|
5573 |
this feature is highly needed, and is a must have for RTL customers
If you are interested in a solution, please click "This bug affects me" on the bug report: https://bugs.launchpad.net/openerp-web/+bug/1020524 To better bring it into the attention of the developers.