no-wrap again (Re: [xliff-tools] PO overview for XLIFF mapping
bruno at clisp.org
Mon May 9 04:58:07 PDT 2005
Asgeir Frimannsson wrote:
> > If a programmer wants to tell something to the translator, he uses
> > plain comments like
> > /* TRANSLATORS: Please make the translation fit in 79 columns,
> > assuming a monospaced font. */
> Ideally though, there would be a way to make such
> a comment map to something like:
> <trans-unit ... maxwidth='79' size-unit='char'>
"Ideally" you could make xgettext understand all kinds of annotations so
that it could exploit all kinds of features of the XLIFF specification.
However, that's much more work (and probably less important) than just
connecting the existing PO files to XLIFF capable tools.
Btw, a size-unit='char' does not make sense for Unix programs. The only
relevant choice for this class of programs is size-unit='col'.
More information about the xliff-tools