How to do it...

To export the translation terms for the mail add-on 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. In the Export Translations dialog box, 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 add-on module at a time—the Discuss module (mail is the technical name for the Discuss app) in our example:
  1. Once the export process is complete, a new window will be displayed, with a link to download the file and some additional advice.
  2. To export a translation template file for the mail add-on module from the Odoo command-line interface, enter the following command:
    $ ./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, enter the following command:
    $ ./odoo-bin -d mydb --i18n-export=es_ES.po --modules=mail 
--language=es_ES
$ mv es_ES.po ./addons/mail/i18n
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset