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: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Localize value being ignored? - 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: Wed Mar 7th, 2018 09:00 pm
PM Private Upload Quote Reply
ncardenas_mside
Member
 

Joined: Wed Mar 7th, 2018
Location:  
Posts: 2
Status: 
Offline
Here is a snippet from my XML file:

<string name="share_screen_text_74">Login Required</string>
<string name="share_mgdl" translatable="false">%1$s %2$s</string>


Even though I've set the "translatable" attribute to be the Localize Value, all the strings are being pulled for translation.

I've confirmed that "false" is one of the Disable Values, and I've even tried changing one of them to
translatable="0"


As a test, I enabled "Localize only those elements that have enabled localize attribute", and this excluded everything, as expected.


Is there something else I can try? Is there something I'm missing?

Back To Top PM Private Upload Quote Reply

 Posted: Thu Mar 8th, 2018 09:05 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


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

Thank you for files. Seems to me that you are right. We'll investigate it.

Best regards,
Janusz



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

 Posted: Fri Mar 9th, 2018 02:12 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2006
Status: 
Offline
Thank you for the samples. Your XML file is an Android string file. We have a dedicated parser for that. this is why when you add an Android string file Sisulizer ask if it should use the generic XML parser or Android parser. unfortunately the Android parser ignored the translatable attribute. I fixed this. Starting from the next build (371) Sisulizer reads and acts on that attribute.

I noticed that for one file you switched to the generic XML parser. I recommend that you switch back to Android parser (delete the source and add it again). Manually exclude or lock the string that has the translatable="false". Once you get 371 then it no longer gets scanned.

371 will be released in few weeks. If you want it sooner I can send you our internal build.

Ilkka



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

 Posted: Fri Mar 9th, 2018 05:54 pm
PM Private Upload Quote Reply
ncardenas_mside
Member
 

Joined: Wed Mar 7th, 2018
Location:  
Posts: 2
Status: 
Offline
Thank you, Ilkka.

I had changed it to Generic precisely because the Android parser seemed to be ignoring and I could not customize it. I'm not a developer myself, so I just assumed the Android standard didn't actually support include/exclude attributes.

I will proceed for now by manually locking the strings and await the official release of 371.

Back To Top PM Private Upload Quote Reply

Current time is 11:48 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Localize value being ignored?



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

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize