Skip to Content
Menu
This question has been flagged
1 Reply
3290 Views

Hi! I follow this procedure and it works fine: https://www.odoo.com/documentation/8.0/reference/translations.html

Then what if I added some new words in a .py file that need translation? What should I do to add them to the existing .po files without starting over?

Odoo v8.0

Avatar
Discard
Author Best Answer

A proper gettext tool is needed for this. I used Poedit

From there it's pretty straightforward

  1. Generate the POT file again from Odoo (see doc), overwriting the old one. This file is a template and should not contain any translation anyway)

  2. Open the .PO file in Poedit

  3. Go to Catalog, Update from POT file...

  4. Select your newly generated POT file

Poedit has now merged the template into the translation file, adding new strings and removing unused ones.

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
32
2
Feb 24
1527
4
Nov 23
1106
1
Aug 22
2421
1
Mar 21
16874