XLF Help - target field
Thread poster: JMBlanco

Local time: 17:12
English to Spanish
+ ...
Feb 13, 2007


I have a client who has sent me an XLF file to be translated. If you look at the file in a tex editor or in Tag Editor it looks something like this:

- < trans-unit restype="label" resname="2079" id="2" >

< source >Version goes here< /source >

< /trans-unit >

(I have added a space between the " > " and " < " symbols).

When I translate, the translated text gets inserted into the source tags.

EXAMPLE: < source > Text replaced by translation < /source >

The client has returned the file stating that the text is not to be replaced but added into the Target tags. Fair enough but the original file does not have Target fields. How do I add these?



[Edited at 2007-02-13 18:38]


Rodolfo Raya  Identity Verified
Local time: 14:12
English to Spanish
Use an XLIFF editor Feb 13, 2007


XLIFF files should be translated using an XLIFF editor or a CAT tool that really supports XLIFF.

Search on Google for "XLIFF editor" and you will find useful links.



Piotr Bienkowski  Identity Verified
Local time: 18:12
Member (2005)
English to Polish
+ ...
TagEditor not the right tool Feb 13, 2007

I found by trying to translate XLIF files in TagEditor and SDLX that these CATs are not up to the task for the XLF format.

Either get a trial version of Heartsome XLIFF Editor (will work for a month) or try Open Language Tools XLIFF Editor (free).

Both of these tools should insert the target element for you.




Jaroslaw Michalak  Identity Verified
Local time: 18:12
Member (2004)
English to Polish
Try this... Feb 14, 2007

You might try the tool described here:


Hopefully, it should let you populate the missing < target > segments in the xlf file.

Let us know if it worked...


Samuel Murray  Identity Verified
Local time: 18:12
Member (2006)
English to Afrikaans
+ ...
MS Word find/replace Feb 15, 2007

JMBlanco wrote:

- < trans-unit restype="label" resname="2079" id="2" >

< source >Version goes here< /source >

< /trans-unit >

1. In MS Word, go Ctrl+H (find/replace), click "More" to open more options, and select "wildcards".

2. Find what: ^p
Replace with: ^l

3. Find what: (< source >)(*)(< /source >)
Replace with: \1\2\3^l< target >\2< /target >

4. Find what: ^l
Replace with: ^p

(remove the spaces by the < and > of course).


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

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

XLF Help - target field

Advanced search

Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »
BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »

  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search