From 30476d5e0f1a326e750c417a44861eeea60d9f7e Mon Sep 17 00:00:00 2001 From: Brandon Mercier <113701731+bram-odoo@users.noreply.github.com> Date: Wed, 25 Feb 2026 15:03:47 +0100 Subject: [PATCH] [IMP] howtos/website_themes: Adapts "Translations" chapter closes odoo/documentation#16594 Signed-off-by: Brandon Mercier (bram) --- .../howtos/website_themes/translations.rst | 32 +++++++++++++----- .../translations/edit-translations.png | Bin 30246 -> 62909 bytes .../translations/translate-button.png | Bin 6278 -> 11906 bytes 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/content/developer/howtos/website_themes/translations.rst b/content/developer/howtos/website_themes/translations.rst index 19e87b396c..fa39dd9ced 100644 --- a/content/developer/howtos/website_themes/translations.rst +++ b/content/developer/howtos/website_themes/translations.rst @@ -25,7 +25,6 @@ manually is highlighted in yellow. .. image:: translations/translate-button.png :alt: Translate button - :width: 570 However, you have to understand what's happening under the hood when you translate something through the Website Builder. @@ -64,7 +63,7 @@ possible. **Example** -To write “Hello *username*”, you can do it in the following way: +To write "Hello *username*", you can do it in the following way: .. code-block:: xml @@ -89,7 +88,7 @@ could write something like this: .. code-block:: xml - My Page Title Shown in the Browser Tab + My Page Title Shown in the Browser Tab As we are writing XML context, text located between two XML tags are translatable. @@ -103,19 +102,34 @@ place: .. code-block:: xml - Foo + Foo And then we need to call it in different locations: .. code-block:: xml -
- ... -