Comment 6 for bug 823788

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote : Re: [Bug 823788] Re: exported po files are buggy for gettext utils

On 08/11/2011 12:16 PM, Andriy Podanenko wrote:
> [quote]- we do not routinely export any PO files with the Translation
> Terms Export wizard, we only export the templates (POT) to serve as
> reference for translators, and of course contain only empty
> translations[/quote]
> Nope! GTK+ and WEB clients already do export into semitranslated
> buggy PO format via Import/Export Translations WIzard

Actually, this wizard is implemented in the 'base' module (i.e. part of
the openobject-server), the clients only "render" it, like any other
view or wizard coming for the OpenERP Addons.
Therefore the logic for exporting the PO files is only present in the
server code, and needs to be changed only there.
Sorry if that was not clear in my previous comment.

> Don`t understand Wishlist priority - with current gettext behavior
> user can`t export translation into po file for importing it into
> another openerp database with merge feature for translations

Mind you, OpenERP's import/export wizard does not really have any
"merge" feature, so I suppose you will need external gettext utils anyway.

But that's a good point, we'll also need to make sure that importing a
PO/CSV file with untranslated terms won't empty the existing
translations even if the "override" flag was checked.