pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Add action to quickly export PO/POT file for a module

Open trinhanhngoc opened this issue 2 years ago • 0 comments

A common workflow for exporting PO files:

  1. Go to Settings > Translations > Export Translation
  2. Select Language
  3. Select Format
  4. Select Apps to Export
  5. Download file
  6. Copy file to i18n folder

Repeat the above steps for POT file.

We can improve this situation by a quick action for PyCharm:

  1. Right click on a module folder select "Odoo > Update Translations".
  2. A dialog will be shown to you select odoo-bin run config, language. These settings will be remembered for the next times.
  3. Click OK and both PO and POT files will be exported and saved into the i18n folder of the module.

cc @anhbtit @ngochuy97hp @haumenphai

trinhanhngoc avatar Oct 19 '22 05:10 trinhanhngoc