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.
  1. 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, select New Language (Empty translation template) from the Language selection list. It's recommended to use the .po format and to export only one addon module at a timeā€”the Discuss (mail technical name) module in our example:
  2. Once the export process is complete, a new window will be displayed, with a link to download the file and some additional advice.
  3. To export a translation template file for the mail addon module from the Odoo command-line interface:
    $ ./odoo-bin -d mydb --i18n-export=mail.po --modules=mail
    $ mv mail.po ./addons/mail/i18n/mail.pot
  1. To export the translation template file for a language, es_ES for Spanish, for example, from the Odoo command-line interface:
    $ ./odoo-bin -d mydb --i18n-export=es_ES.po --modules=mail 
--language=es_ES
$ mv es_ES.po ./addons/mail/i18n