Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Problems with XML Attribute - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Mon Mar 1st, 2010 02:50 pm
PM Private Upload Quote Reply
dke
Member
 

Joined: Mon Mar 1st, 2010
Location:  
Posts: 3
Status: 
Offline
Hello,

I'm trying to translate an XML which corresponds roughly to a help page structure:

<help-page>
    <contents>
        <p>
            <lnk target="dont_translate1">translate1</lnk>
            <br/>
            translate <u>underlined</u>
            <br/>
            translate <u>underlined</u>
            <br/>
        </p>
    </contents>
</help-page>

Within the Import Wizard, I check the whole <p>, but the 'target' attribute is omitted in the output.

The only way I found to include 'target' in the output is to uncheck <p> and to check <lnk>, Text-Element and <u> instead. But this way I give up the flexibility regarding formatting tags like <u>, because they are translated separately in this case, which might not be wanted in a particular translation.

Even if I check 'target' in addition to <p> (which should enable translation for 'target' in my opinion), neither 'target' is offered translation for, nor is it written to the output untranslated.

What am I doing wrong?

Kind regards,
dke

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 1st, 2010 03:50 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
Hi dke,

I ask our R&D what we can do. Probably we have to add the lnk tag to a list of tags having attributes.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 1st, 2010 03:52 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,
 
You can't translate attribute value and tag value as one string for items like this:

<p><tag attribute="text">text1</tag></p>
so you can translate both items only, if you split it to separated rows by selecting appropriated sub-items in tags tree instead parent item (in our cases parent item is <p> tag). Of course, this solution split to separated rows also other sub-items.
 
Best regards,
Janusz  



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 1st, 2010 04:16 pm
PM Private Upload Quote Reply
dke
Member
 

Joined: Mon Mar 1st, 2010
Location:  
Posts: 3
Status: 
Offline
Thanks for your fast answers.

_(at)_Janusz: actually I don't want to translate tag- and attribute value.

I want to translate the contents of <p> (including all the sub-tags that might be there) in one piece, AND I want the 'target' attribute of the <lnk> tag to be copied to the output untranslated. But unfortunately it is not copied, if I check <p>.

When I played with the Wizard options, I just realized that I can also check both, <p> and additionally 'target', and I expected that Sisulizer would offer me a separate translation item for 'target', but it didn't (checking 'target' seems to have no effect in this case) - but that's maybe a different story.

Thanks in advance,
dke

Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 1st, 2010 04:28 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello,

Yes, you are right, Sisulizer doesn't copy "target" attribute if you select to localization parent item, that is, <p> tag. Markus already forwarded it to our developers.

Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Mar 1st, 2010 06:32 pm
PM Private Upload Quote Reply
dke
Member
 

Joined: Mon Mar 1st, 2010
Location:  
Posts: 3
Status: 
Offline
Thanks a lot,
dke

Back To Top PM Private Upload Quote Reply

Current time is 06:05 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Problems with XML Attribute



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize