Welcome Guest

Notification

Icon
Error

Forum Jump  
Translating XML file contents
Options
DavidParrish  
Posted : Saturday, July 23, 2011 4:14:02 AM(UTC)
Joined: 3/21/2011(UTC)
Posts: 1

Was thanked: 2 time(s) in 1 post(s)
I am having trouble translating a XML file. Here are a few lines from the file--

<string name="card_payment" introduced="5.0.0"><![CDATA[Pay by Card]]></string>
<string name="card_security" introduced="5.0.0"><![CDATA[Card Security Code]]></string>
<string name="card_type" introduced="5.0.0"><![CDATA[Card Type]]></string>

Site Translator does not make any changes. Can you give some advice?
DeskShare - Support  
Posted : Saturday, July 30, 2011 9:48:42 AM(UTC)
DeskShare - Support

Rank: Administration

Joined: 2/27/2004(UTC)
Posts: 1,824

Was thanked: 41 time(s) in 34 post(s)
While translating XML files, Site Translator converts the text between XML tags - not the text included in the attributes.

For example if a XML file contains the following text:

<products>
<product1>This is a test product.</product1>
<descriptionSample>usage of the product.</description>
<card_securityCard>Security Code</card_security>
</products>

Then the text "This is a test product.", "Sample usage of the product.", and "Card Security Code" will get translated.
Rss Feed  Atom Feed

Copyright © DeskShare Incorporated.  All rights reserved.