On 03 Nov 09:07, Mariano Ramon wrote:
>  
> 
> > Since [1], it is possible to forge a po file that will overide 
> > translations. You must just reuse the same line as in original po file 
> > but prefix ressource ID by the module name + '.'. 
> >
> > [1] http://hg.tryton.org/trytond/rev/62615d5dba33 
> >
> >
> 
> Could you clarify this with an example.
> 
> I have something like this:
> 
> msgctxt "model:ir.action,name:act_psc_form1"
> msgid "PSC"
> msgstr "LSP"
> 
> and I have a module named custom, should I write:
> 
> 
> msgctxt "model:ir.action,name:.custom.act_psc_form1"
> msgid "PSC"
> msgstr "LSP"

Without the point:
msgctxt "model:ir.action,name:custom.act_psc_form1"

> should I add the resource to my module too?

in locale/xx_XX.po file

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpnY3WgztjL3.pgp
Description: PGP signature

Reply via email to