[xliff-tools] xml to xliff
Tim Foster
Tim.Foster at Sun.COM
Mon Apr 4 00:59:32 PDT 2005
Hey Kids
(Just back from NZ - so it'll take me a while to catch up on stuff
here - I've a load of email to get through, sorry)
On Mon, 2005-03-21 at 23:56, Asgeir Frimannsson wrote:
> On Mon, 21 Mar 2005 19:01, Fredrik Corneliusson wrote:
> > Hi,
> > Any plans to do a XML to XLIFF filter? This is would be very useful
> > for documentation localization.
Yep, we've got one, and it'll be included in our initial release of the
XLIFF filters and XLIFF editor that we're open sourcing. (whenever that
happens)
> Hopefully SUN will release their filters soon :)
Yep, work in progress... Our filter is a generic one : that is, given
an XML file that declares either it's doctype, or refers to a namespace
along with a configuration file that tells it which elements are translatable
(and non-translatable and which elements contain text that shouldn't cause
segmentation) we can convert to XLIFF.
In the initial release, we'll be shipping configuration files for Docbook
XML and OOo .sx* files (haven't got around to looking at the new
OpenOffice file format yet)
> In developing filters for Docbook XML and SGML, what's interesting to see is
> if we can at the same time find a way of leveraging all the existing
> translations out there stored in PO Compendiums.
I strongly agree! The only thing that's going to be a pain, is the segmentation
differences that will arise from some ppl using tools that take XML files
and create a segment/msgid out of each paragraph, vs. ours that create
a segment/msgid our of every sentence. That could potentially impact the amount
of leverage you'd get from existing .po files (as converted from XML)
> Also, in developing filters for XML based formats, it might be a good design
> decition to develop generic XML filters, with configuration files for each
> target file format specifying which elelments and attributes goes for
> localisation (I think this is the way e.g. Heartsome and Sun does it)..
Yep.
cheers,
tim
> cheers,
> asgeir
> _______________________________________________
> xliff-tools mailing list
> xliff-tools at lists.freedesktop.org
> http://lists.freedesktop.org/cgi-bin/mailman/listinfo/xliff-tools
--
Tim Foster - Tools Engineer, Software Globalisation
http://sunweb.ireland/~timf http://blogs.sun.com/timf
http://www.netsoc.ucd.ie/~timf
More information about the xliff-tools
mailing list