XLF Help - target field
Thread poster: JMBlanco

Local time: 19:52
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: 15:52
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: 20:52
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: 20:52
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: 20:52
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

Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »

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