Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Food & Hospitality
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Guest House
    • Distribuidor de bebidas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consulting
    • Accounting Firm
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Trades
    • Handyman
    • Hardware y asistencia informática
    • Solar Energy Systems
    • Zapatero
    • Servicios de limpieza
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Page Direction for RTL languages in ODOO 17

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
rtldirectioncss
8 Respuestas
18950 Vistas
Avatar
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
Avatar
Descartar
Ali
Autor

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

Avatar
Omar
Mejor respuesta

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

1
Avatar
Descartar
Avatar
Yedidel Elhayany
Mejor respuesta

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

Set-ExecutionPolicy RemoteSigned

0
Avatar
Descartar
Avatar
Kelile Deman
Mejor respuesta

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

0
Avatar
Descartar
Avatar
javad kaef
Mejor respuesta

i have the same issue on windows

0
Avatar
Descartar
Avatar
Webkul
Mejor respuesta

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
Avatar
Descartar
Ali
Autor

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
Autor

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
Autor

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.

Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

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

Thanks

0
Avatar
Descartar
Ali
Autor

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

Avatar
Ali
Autor Mejor respuesta

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
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

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
Avatar
Descartar
Ali
Autor

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.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Does Openerp Support RTL Direction (Hebrew-Arabic-... language) Resuelto
language v7 rtl direction
Avatar
Avatar
Avatar
2
ene 24
17201
Odoo 17 portal tables - change color of dividing border?
css
Avatar
Avatar
1
jul 24
2786
Please help with CSS for Odoo 17 - change Logged note background
css
Avatar
Avatar
1
jul 24
2821
email to contacs from odoo align to left
rtl
Avatar
1
may 24
1643
odoo 14 rtl not working Resuelto
rtl
Avatar
Avatar
2
abr 24
12357
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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