Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Заказать демонстрацию
  • Цены
  • Поддержка

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

  • CRM
  • e-Commerce
  • Бухгалтерия
  • Склад
  • PoS
  • Проекты
  • MRP
All apps
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Page Direction for RTL languages in ODOO 17

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
rtldirectioncss
8 Ответы
18903 Представления
Аватар
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
Аватар
Отменить
Ali
Автор

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

Аватар
Omar
Лучший ответ

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

1
Аватар
Отменить
Аватар
Yedidel Elhayany
Лучший ответ

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

Set-ExecutionPolicy RemoteSigned

0
Аватар
Отменить
Аватар
Kelile Deman
Лучший ответ

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

0
Аватар
Отменить
Аватар
javad kaef
Лучший ответ

i have the same issue on windows

0
Аватар
Отменить
Аватар
Webkul
Лучший ответ

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
Аватар
Отменить
Ali
Автор

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
Автор

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
Автор

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.

Аватар
Niyas Raphy (Walnut Software Solutions)
Лучший ответ

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

Thanks

0
Аватар
Отменить
Ali
Автор

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

Аватар
Ali
Автор Лучший ответ

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
Аватар
Отменить
Аватар
Cybrosys Techno Solutions Pvt.Ltd
Лучший ответ

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
Аватар
Отменить
Ali
Автор

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.

Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
Does Openerp Support RTL Direction (Hebrew-Arabic-... language) Решено
language v7 rtl direction
Аватар
Аватар
Аватар
2
янв. 24
17179
Odoo 17 portal tables - change color of dividing border?
css
Аватар
Аватар
1
июл. 24
2775
Please help with CSS for Odoo 17 - change Logged note background
css
Аватар
Аватар
1
июл. 24
2808
email to contacs from odoo align to left
rtl
Аватар
1
мая 24
1625
odoo 14 rtl not working Решено
rtl
Аватар
Аватар
2
апр. 24
12347
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة 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 – это набор бизнес-модулей с открытым исходным кодом, который закроет все потребности вашей компании: CRM, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

Odoo сочетает в себе простоту использования и полную интеграцию всех бизнес-процессов в одной системе.

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