From 9649920987115f9f71dc871b099cd571add6507a Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Fri, 12 Oct 2018 13:45:31 +0000 Subject: [PATCH] [FIX] doc: add mention about rtlcss Since 12.0, odoo support RTL interfaces but requires the package rtlcss closes odoo/odoo#27729 --- doc/setup/install.rst | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/doc/setup/install.rst b/doc/setup/install.rst index 9fbf6fc0d60..7469b7d0ee0 100644 --- a/doc/setup/install.rst +++ b/doc/setup/install.rst @@ -158,7 +158,7 @@ You can then use ``gdebi``: # gdebi -Or ``dpkg`` (handles less dependencies automatically): +Or ``dpkg``: .. code-block:: console @@ -368,6 +368,34 @@ Source installation requires manually installing dependencies: C:\> cd \YourOdooPath C:\YourOdooPath> C:\Python35\Scripts\pip.exe install -r requirements.txt +* *RTLCSS* via nodejs + + For languages with right-to-left interface (such as Arabic or Hebrew), the + package ``rtlcss`` is needed. + + - on Linux, use your distribution's package manager to install nodejs and + npm. + Once npm is installed, use it to install rtlcss: + + .. code-block:: console + + $ sudo npm install -g rtlcss + + - on OS X, install nodejs via your preferred package manager (homebrew_, + macports_) then install less: + + .. code-block:: console + + $ sudo npm install -g rtlcss + + - on Windows, `install nodejs `_, reboot (to + update the :envvar:`PATH`) and install rtlcss: + + .. code-block:: doscon + + C:\> npm install -g rtlcss + + Fetch the sources -----------------