Translating texts through the web client user interface
The simplest way to translate is to use the translation feature provided by the web client. These translation strings are stored in the database and can later be exported to a .po
file, either to be included in an add-on module or just to later be imported back manually.
Text fields can have translatable content, meaning that their value will depend on the current user's language. We will also see how to set the language-dependent values on these fields.
Getting ready
We will need to have developer mode activated. If it's not, activate it as shown in the Activating the Odoo developer tools recipe in Chapter 1, Installing the Odoo Development Environment.
How to do it...
We will demonstrate how to translate terms through the web client using the User Groups feature as an example:
- Navigate to the screen you want to translate. As an example, we will open the Groups view via the Settings | Users &...