How do I translate an .xml file using an .xsd file?
Thread poster: Peter Adolph

Peter Adolph
Local time: 06:41
Member (2006)
English to Danish
+ ...
Dec 21, 2010

Help!

How do I translate an XML file with either SDL Trados Studio or TWB using the client's .xsd file?

I'm new to all aspects of translation of software strings and need help.

The .xml file contains a source and a target language, and the source now needs to be translated into a second target language (by one of my vendors). I've managed to create an .ini file in TagEditor using the .xsd file, but still all text that should be translated appears inside the tags in TE ...

It's probably not very complicated, just me being ignorant (but hopefully not much longer ...).

Has anyone got a clue?

TIA
peter


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 06:41
Member (2003)
Polish to German
+ ...
How are the source and target language organized in the XML? Dec 21, 2010

In fact this is not really your task, as the customer should provide you a clear instruction, but...
What does appear when you open the file in TagEditor with the ini file you created?


Direct link Reply with quote
 

Peter Adolph
Local time: 06:41
Member (2006)
English to Danish
+ ...
TOPIC STARTER
--> --> --> --> <labellanguage ... Dec 21, 2010

This is what I see when opening up the .xml file in TE:









... and so on. I am not able to open up any segments (the value "Antal deltagere" would need to be translated) ... everything inside the '' is placed in a tag.

Source language is Danish, and new target language is Swedish.

The client is a beginner within localisation/translation of their software, just like I am in general. They sent the .xsd file which I used to create an .ini-file within TE, but how do I then get on from there?

Does this help?

/peter


Direct link Reply with quote
 

Peter Adolph
Local time: 06:41
Member (2006)
English to Danish
+ ...
TOPIC STARTER
... the copy/paste didn't work ... Dec 21, 2010

sorry, the copy/paste didn't work for some reason (despite being shown on my screen before submitting ...).

Trying again in a different way ...


Direct link Reply with quote
 

Peter Adolph
Local time: 06:41
Member (2006)
English to Danish
+ ...
TOPIC STARTER
... Dec 21, 2010

!!!!!!
!!!!!!
!!!
!!! !!!
!!! !!!
!!! !!!


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 06:41
Member (2003)
Polish to German
+ ...
Use entities Dec 21, 2010

You cant use > and < signs in forum, but must write them & gt ; for > and & lt ; for < instead (without spaces obviously).

So what you now need is as far as I can see to define the tags properly.
The only part visible shall remain the language which is to be replaced by Swedish.

Can you send me the files? info at czopik dot com

[Edited at 2010-12-21 20:11 GMT]


Direct link Reply with quote
 

Peter Adolph
Local time: 06:41
Member (2006)
English to Danish
+ ...
TOPIC STARTER
this is what I see (transcribed) Dec 21, 2010

PiccoloLanguage
Term Name="MeetingNumberOfParticipants"
Label Language="DK" Value="Antal deltagere"/
Label Language="UK" Value="No. of participants"/

... and so on.

I've deleted the usual '' signs.


Direct link Reply with quote
 
xxxOlaf
Local time: 06:41
English to German
Did you make the "value" attribute translatable? Dec 22, 2010

Is the Value attribute listed as translatable attribute in the Elements tab of the Tag Settings dialog box, when you double-click your custom .ini file and select the Label element? If not, you'll have to make it translatable.

Olaf


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 06:41
Member (2003)
Polish to German
+ ...
Problem with Value Dec 22, 2010

In this very case it makes no problem to make the text accessible (the attribute "value" is declared as traslatable), but this brings BOTH languages up.
What I've done was changing the language tag for the language which shall remain untranslated to xLabel and declared that tag untranslatable. As far I could check that worked.


Direct link Reply with quote
 
Achim Herrmann
Local time: 06:41
English to German
Tools supporting multilingual XML Feb 7, 2011

Hello,

there are tools like SDL Passolo that are supporting multilingual XML files very easily. From what I have seen I assume that

Term Name="MeetingNumberOfParticipants"
Label Language="DK" Value="Antal deltagere"
Label Language="UK" Value="No. of participants"

appears in some XML content. A mutlilingual XML parsing rules will be able to extract the elements with attribute Language="UK" content only and to automatically align the "DK" content. When new languages will be added a new element wil be inserted into the file.

So all discussed conversions and manual work will be obsolete.

Best regards
Achim Herrmann
SDL Passolo Business Consultant


Direct link Reply with quote
 


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


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

How do I translate an .xml file using an .xsd file?

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 »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



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