[xliff-tools] RESTYPE attribute for PO translation units

Asgeir Frimannsson asgeirf at redhat.com
Wed Apr 27 03:10:04 PDT 2005


Hi Tim,

On Wed, 27 Apr 2005 18:58, Tim Foster wrote:
> Hey Folks,
>
> On Wed, 2005-04-27 at 06:13, Asgeir Frimannsson wrote:
> > Would it be sensible to set the default value of the restype attribute
> > for translation units to 'string' - as it is without exceptions strings
> > we in gettext are extracting from source code?
>
> I'd be inclined not to use restype for po files : looking at the
> possible options, it's got the potential to confuse translation tools.
> (eg. who's to say that the po message being wrapped doesn't in fact
> represent a tool-tip text, a button label, radio button etc.)

Good point. 

> Setting all res-types as "string" for po files doesn't really help
> anyone, unless we had some fancy way of determining what the msgid
> actually refers to. 

Note taken. Thanks Tim!

> Just my thoughts on it anyway... The restype 
> attribute is a bit crap imho - very win32 biased :-)

..At least the default values,  but the HTML repr. guide makes good use of 
them.

cheers,
asgeir


More information about the xliff-tools mailing list