Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Page Direction for RTL languages in ODOO 17

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
rtldirectioncss
8 Trả lời
18916 Lượt xem
Ảnh đại diện
Ali

Hello


after a clean installation of odoo 17 (on both windows and ubuntu), when I switch to RTL languages as like as Persian or Arabic, page direction remains LTR instead of RTL,

also the printable documents (like invoice, quotation...) are shown in LTR

is there any extra installation steps or extra module required to fully support the RTL languages in ODOO 17?


 Thanks

0
Ảnh đại diện
Huỷ bỏ
Ali
Tác giả

Hello

I noticed that odoo have not RTL as built in feature and I have to install the RTLCSS using the nodejs,
I installed it using the following command:
npm install -g rtlcss
and I added the rtlcss.cmd path to "system variables" and rrstarted the ODOO service

after restart, I regenerated the assets bounde,
now, When I inspect rhe BODY and other HTML taged in the pages, ot shoes me that its going to use a new CSS with "rtl" in its classes, but there is no RTL related tags in the loaded CSS files and it peares thet the installed RTLCSS node module is not working and nothing is applied on the css files.

is there any other module or steeps needed to be down on the app exept of what mentioned on this link?
https://www.odoo.com/documentation/17.0/administration/install/source.html

Thanks

Ảnh đại diện
Omar
Câu trả lời hay nhất

after installing rtlcss just enable debug mode with assets and it's will be corrected 😍

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Yedidel Elhayany
Câu trả lời hay nhất

I finally got this to work by running Powershell as administrator and running this:

Set-ExecutionPolicy RemoteSigned

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Kelile Deman
Câu trả lời hay nhất

Odoo must be aware of rtlcss command. Put it an it's related filed in the directory where wkhtmltopdf located.

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
javad kaef
Câu trả lời hay nhất

i have the same issue on windows

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Webkul
Câu trả lời hay nhất

Hello Ali,

As per Odoo v17 documentation >> https://www.odoo.com/documentation/17.0/administration/install/source.html for using the right-to-left interface, the rtlcc package is required.

In this document, you can find the library installation steps for Linux and Windows.






Once the library is installed make sure to restart the Odoo server. Then enable the debug mode and "regenerate Asset Bundle"


We hope it helps in resolving your issue.

Regards
Odoo Team
Webkul Software Pvt. Ltd.




0
Ảnh đại diện
Huỷ bỏ
Ali
Tác giả

Hello

Thank you for your suggestion
I installed the nodejs also python3 on windows, then I added the rtlcss.cmd path (C:\Users\Administrator\AppData\Roaming\npm\ to the PATH parameter in the windows environment variables) and rebooted the server, after that I enabled the debugging and run the "regenerate Assets Bundles" and switched between languages and tested this.

The issue still exists.

Ali
Tác giả

Hello

As your comment,
1- I Installed the community version on the windows 2022 Server on the C:\ODOO17 folder using the exe app in the https://www.odoo.com/page/download and installed the odoo and postgress using the wizard. and made the first DB with Persian language
2- I installed the python on the server
3- I installed the node on the server
4- I executed the "npm install -g rtlcss" in the C:\ODOO17 folder
5- I added the "C:\Users\Administrator\AppData\Roaming\npm" on the Server's enviroment variable
6- I restarted the server
7- I enabled the debug mode and executed the "regenerate Asset Bundle"
8- again made a server restart to be sure all things are applied

but still the RTL is not working and the pages for PERSIAN language are LTR

is there any way to check if rtlcss is working correctly on the app?
is there any fix for this?

Thanks

Ali
Tác giả

Hello

I also tested installing from the source and installed it from source on the windows server.
I'm sure that i done all steps based the documentation, but the same issue exists and the rtlcss is not applied and all pages for RTL languages are displayed as LTR.

its interesting that no one had same issue, may be the odoo community is not used in the regions with RTL language.

Ảnh đại diện
Niyas Raphy (Walnut Software Solutions)
Câu trả lời hay nhất

Hi,
See if the rtlcss package is installed or not.

Thanks

0
Ảnh đại diện
Huỷ bỏ
Ali
Tác giả

Hello
No, I dident.

as i read, its included in odoo 16 and 17.

have i install it manually?
have you any instruction for doing this on windows installation of odoo?

as i see, its have to be done using the npm installer, in case o installed the odoo 17 using the windows installer file not manually.

Thanks

Ảnh đại diện
Ali
Tác giả Câu trả lời hay nhất

Hello

After Installing the first DB with Test Data,

I installed the PERSIAN (also ARABIC) and changed the language from English to Persian.


after changing the language, all texts are translated correctly, but the direction is not changed drom LTR to RTL.



is there any extra config for direction based on the language or any extra module have to be installed?


Thanks

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Cybrosys Techno Solutions Pvt.Ltd
Câu trả lời hay nhất

Hi,Please confirm the steps you have done1) settings-> languages -> add language -> choose the language and click on ADD


 then click on the switch to Persian button


You can see the language is changed


And also the invoice quotation reports etc are will be in the customer languages, so verify the customer languages.


Hope it helps


0
Ảnh đại diện
Huỷ bỏ
Ali
Tác giả

Hello

Thank you for your answer
unfortunately, the direction dose not works as expected
The translation works fine, but the direction dose not
I sent screenshot in my answer
I tested this issue again by installing the odoo community on Windows/Ubuntu also I used the docerized version of the odoo 17

only in the docker version, if the installation language were RTL language the RTL where working fine in other situations (odoo17 on windows and Linux also initiating the dockerized version using any LTR language and then switching to RTL language) the issue were applied.

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Does Openerp Support RTL Direction (Hebrew-Arabic-... language) Đã xử lý
language v7 rtl direction
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 1 24
17189
Odoo 17 portal tables - change color of dividing border?
css
Ảnh đại diện
Ảnh đại diện
1
thg 7 24
2781
Please help with CSS for Odoo 17 - change Logged note background
css
Ảnh đại diện
Ảnh đại diện
1
thg 7 24
2811
email to contacs from odoo align to left
rtl
Ảnh đại diện
1
thg 5 24
1637
odoo 14 rtl not working Đã xử lý
rtl
Ảnh đại diện
Ảnh đại diện
2
thg 4 24
12348
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now