I would appreciate if anyone can give me a clear picture of how XLIFF works.
Thread poster: Sandeep Kumar Talla
Sandeep Kumar Talla
Sandeep Kumar Talla
Local time: 04:30
English
+ ...
Aug 30, 2007

I would appreciate if anyone can give me a clear picture of how XLIFF works.

[Subject edited by staff or moderator 2007-08-30 21:22]


 
Textklick
Textklick  Identity Verified
Local time: 03:30
German to English
+ ...
In memoriam
XML Localization Interchange File Format, Aug 30, 2007

I can't claim to give you a clear a picture, but you might like to read this: http://developers.sun.com/dev/gadc/technicalpublications/articles/xliff.html

Some CAT tools can handle XLIFF.

HTH


 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 04:30
Member (2006)
English to Afrikaans
+ ...
XLIFF is not your saviour, or is it? Aug 31, 2007

Sandeep Kumar Talla wrote:
I would appreciate if anyone can give me a clear picture of how XLIFF works.


Every time I speak to XLIFF people, I learn new things.

Initially I thought that XLIFF was a free-for-all format in which the exporter-to-xlf decided what the format would be (within certain broad limits), but I've recently discovered that the creators certain l10n formats can officially degree an XLIFF flavour to be used for their format.

You may have several tools that can export HTML to XLIFF and back, but actually there is an official flavour of XLIFF for HTML, and if your tool follows it, then your XLIFF file should be editable by any XLIFF program that supports the HTML flavour.

If you open your HTML xlf file in an editor that thinks PO xlf is the default format (or only format), and you edit it and it saves the file, then your original tool won't be able to parse the XLIFF file because it is essentially in a different format.

Now I understand why l10n vendors are not rushing to export to XLIFF, because XLIFF can be easily broken and rendered useless for the original exporting program.

The best XLIFF editor, therefore, seems to be the vendor's own editor, or a plain XML editor, unless you have great faith in your XLIFF editor not to screw things up.

Comments appreciated.


 
Rodolfo Raya
Rodolfo Raya  Identity Verified
Local time: 23:30
English to Spanish
About XLIFF interoperability Aug 31, 2007

Here are some comments on your comments:

Samuel Murray wrote:
Initially I thought that XLIFF was a free-for-all format in which the exporter-to-xlf decided what the format would be (within certain broad limits), but I've recently discovered that the creators certain l10n formats can officially degree an XLIFF flavour to be used for their format.


XLIFF is a well defined format. There are different tools for converting documents to XLIFF and there are differences on the conversion process, but in all cases the output of the process must be a valid XLIFF file.

It does not matter if there are differences in XLIFF files generated from the same source by two different tools. What is really important is that all the information that needs translation gets extracted and that the final XLIFF file is valid.

XLIFF files can be validated against the XLIFF Schema using and XML editor, so it is easy to tell if an XLIFF file is correct or not.



You may have several tools that can export HTML to XLIFF and back, but actually there is an official flavour of XLIFF for HTML, and if your tool follows it, then your XLIFF file should be editable by any XLIFF program that supports the HTML flavour.


The conversion guidelines for HTML published by the XLIFF TC at OASIS provide different options for converting HTML to XLIFF.

There isn't just one way to convert HTML to XLIFF.


If you open your HTML xlf file in an editor that thinks PO xlf is the default format (or only format), and you edit it and it saves the file, then your original tool won't be able to parse the XLIFF file because it is essentially in a different format.


If that happens, it means that you are using a tool that doesn't really support XLIFF.

If you need to work with XLIFF files, select a tool that can handle the format.

If you use a good XLIFF editor, you don't need to worry. Translate and provide a valid XLIFF file to the agency. The agency should be able to generate the final documents from your XLIFF if they use good tools too.


Now I understand why l10n vendors are not rushing to export to XLIFF, because XLIFF can be easily broken and rendered useless for the original exporting program.


This statement is incorrect. XLIFF files are as fragile as other files.

If you edit an RTF file using a plain text editor like Notepad, you may damage the RTF file easily. This does not mean that using tagged RTF files for holding translations is incorrect due to the fragility of the RTF format.


The best XLIFF editor, therefore, seems to be the vendor's own editor, or a plain XML editor, unless you have great faith in your XLIFF editor not to screw things up.


This statement is incorrect.

There are several tools that can handle XLIFF files adequately. As a result, there is real interoperability.

You simply have to be careful when selecting the tools to use with XLIFF files.

Some details to consider when selecting an XLIFF editor:

* Version of XLIFF supported . Current version of XLIFF is 1.2 and almost all editors that work with XLIFF 1.1 can edit XLIFF 1.2.

* Ability to use the TM matches present in the XLIFF file. Some tools are unable to use matches stored in <alt-trans> elements.

* Ability to work with fresh XLIFF files. When a document is converted to XLIFF, the XLIFF file does not contain <target> elements. Those elements are normally added at translation time, but some tools don't know how to do it.

Regards,
Rodolfo



[Edited at 2007-08-31 08:02]


 
Sandeep Kumar Talla
Sandeep Kumar Talla
Local time: 04:30
English
+ ...
TOPIC STARTER
Life Cycle of XLIFF Sep 5, 2007

Hello all, thank you very much for all the replies i got. i would be glad if someone can show me the life cycle of XLIFF implementation...right from the exporting to importing.

 
Sandeep Kumar Talla
Sandeep Kumar Talla
Local time: 04:30
English
+ ...
TOPIC STARTER
XLIFF workflow Metadata, Version Management Sep 5, 2007

Hello, thanks alot for the reply....i would be happy if you let me know about the workflow metadat and version management in XLIFF.

Textklick wrote:

I can't claim to give you a clear a picture, but you might like to read this: http://developers.sun.com/dev/gadc/technicalpublications/articles/xliff.html

Some CAT tools can handle XLIFF.

HTH


 
Textklick
Textklick  Identity Verified
Local time: 03:30
German to English
+ ...
In memoriam
Wrong person to ask? Sep 5, 2007

Hi Sandeep

I think that there are others who know much more than I do here.

Have a look here http://www.proz.com/topic/81604?start=0&float=

Chris


 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 04:30
Member (2006)
English to Afrikaans
+ ...
SDLX and XLIFF Oct 1, 2007

Rodolfo Raya wrote:
Samuel wrote:
Now I understand why l10n vendors are not rushing to export to XLIFF, because XLIFF can be easily broken and rendered useless for the original exporting program.

This statement is incorrect. XLIFF files are as fragile as other files.


I fed an XLIFF file to SDLX. The XLIFF file had empty target strings (which is valid XLIFF), like this:

<target/>

When I saved the file as XLIFF again, SDLX changes the empty target strings into this:

<target> &lt;0/&gt; </target>

SDLX is not a small company -- one would be forgiven for assuming their software would handle XLIFF files correctly, especially since "XLIFF" is a toplevel menu item in their program.

There are several tools that can handle XLIFF files adequately. As a result, there is real interoperability.


So far I have found one only, being Heartsome's XLIFF Editor. Admittedly, I must still test DVX, but I've already tested (and rejected) SDLX and Trados.

Some tools, like OmegaT, doesn't really have an XLIFF filter, but simply treats it as generic XML.


[Edited at 2007-10-01 12:27]


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

I would appreciate if anyone can give me a clear picture of how XLIFF works.






CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »