Community: Translators mailing list archives

translators@mail.odoo.com

RE: .po files not updated with the latest source strings

by
Rooms For (Hong Kong) Limited, Yoshi Tashiro
- 08/21/2016 22:48:31

Hello Martin,

 

>>>

 

The update of .pot file is a manual process. The module that has been 

changed should be re-exported to fetch the new terms.

The hr_expense module was outdated and I have fixed it in 9.0 (rev 

48366920).

Transifex will soon (within the day usually) reflect the changes into 

the odoo-9 project.

<<<

 

 

I can see that .pot has been updated (e.g. https://github.com/odoo/odoo/commit/907f9554d48d5c53661a84b314ffc75846556938), but I still can’t find the new strings in Transifex.  Is there a problem with updating Transifex, perhaps?

 

---

Yoshi Tashiro

 

From: Yoshi Tashiro
Sent: Thursday, August 18, 2016 9:47 AM
To: Odoo S.A. Community: Translators <translators@mail.odoo.com>
Subject: RE: .po files not updated with the latest source strings

 

Thanks Olivier and Martin for your replies.

 

For future cases I will create an issue in Github to request for re-export of relevant modules.  Thanks again.

 

---

Yoshi Tashiro

 

From: Olivier Dony [mailto:odo@odoo.com]
Sent: Wednesday, August 17, 2016 4:35 PM
To: Community: Translators <translators@mail.odoo.com>
Subject: Re: .po files not updated with the latest source strings

 

On 08/17/2016 10:17 AM, Yoshi Tashiro wrote:

> So, should we create a pull request with updated .pot whenever we notice such

> case?  I had also reported another such case from account module to the issue

> you just closed

 

You can certainly make a PR if the diff is small and it simply fixes a few

missing terms. However re-exporting module POT files can be tricky as they

sometimes contain "foreign" terms added by other modules in their own

namespace. You can also do the change in the POT manually, in that case be sure

to use 'msgfmt -c ' at the end to verify the validity of the file (no

duplication, etc.)

Finally when you make the PR, be sure to mention @mart-e or @odony so we can

fast-forward them.

 

An alternative is to post in this mailing-list and ask for a re-export of the

relevant module, it will usually be done a couple hours later :-)

 

Olivier

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-translators-63
Post to: mailto:translators@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe