Exporting translation strings to a file
Translation strings can be exported with or without the translated texts for a selected language. This can be either to include in a module i18n
data, or to later perform the translations with a text editor or perhaps with a specialized tool.
We will demonstrate how to do it using the standard mail
module, so feel free to replace mail
with your own module.
Getting ready
We will need to have the Developer Mode
activated. If it's not, activate it as pointed out in Activating the Odoo developer tools recipe in Chapter 1, Installing the Odoo Development Environment.
How to do it...
To export the translation terms for the mail addon
module, follow these steps:
- In the web client user interface, from the
Settings
top menu, select theTranslations
|Import/Export
|Export Translation
menu option.
- At the
Export Translations
dialog, choose the language translation to export, the file format, and the modules to export. To export a translation template file, selectNew...