pycharm-odoo
pycharm-odoo copied to clipboard
Add action to quickly export PO/POT file for a module
A common workflow for exporting PO files:
- Go to Settings > Translations > Export Translation
- Select Language
- Select Format
- Select Apps to Export
- Download file
- Copy file to i18n folder
Repeat the above steps for POT file.
We can improve this situation by a quick action for PyCharm:
- Right click on a module folder select "Odoo > Update Translations".
- A dialog will be shown to you select odoo-bin run config, language. These settings will be remembered for the next times.
- Click OK and both PO and POT files will be exported and saved into the i18n folder of the module.
cc @anhbtit @ngochuy97hp @haumenphai