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 the Translations | 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, 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:
- Once the export process is complete, a new window will be displayed, with a link to download the file and some additional advice.
- 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
- 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