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 need to have the Developer Mode activated. If it's not, activate it in the Odoo About dialog.

How to do it...

To export the translation terms for the mail addon module, follow these steps:

  1. In the web client user interface, from the Settings top menu select the Translations | Import/Export | Export Translation menu option.
  2. At the Export Translations ...

Get Odoo Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.