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
"\n" in strings.xml from android app is incorrect - 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 Jan 3rd, 2018 01:53 pm
PM Private Upload Quote Reply
heikovoss2
Member
 

Joined: Fri Nov 20th, 2015
Location:  
Posts: 10
Status: 
Offline
Hello,
we want to translate entries from string.xml from Android app. Some strings include "\n" which is only shown as "n" in sisulizer.
Eample: "Which tone was\n different?" becomes "Which tone wasn different?"
During import of "string.xml" I have chosen "android value file" (Android-Werte-Datei" in german).
Is there any possibilty that "\n" in these strings is used as it is?

Kind regards
Heiko Voß

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 3rd, 2018 02:09 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

You need to protect \ in XML with a <![CDATA[ construct. XML is very strict and Sisulizer simply follows these rules.

Hope this helps

Markus



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

 Posted: Wed Jan 3rd, 2018 02:41 pm
PM Private Upload Quote Reply
heikovoss2
Member
 

Joined: Fri Nov 20th, 2015
Location:  
Posts: 10
Status: 
Offline
Hi Markus,
Thanks for fast reply. I imported the file as normal XML-file not as android value file. Now \n is represented correctly.

Kind regards
Heiko

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 3rd, 2018 04:27 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1985
Status: 
Offline
\n is correct encoding in Android XML file and it means new line. We noticed this few weeks ago and implemented the feature. Starting from build 370 Sisulizer correctly scans Android XML files contain \n.

After you use 370 you should let Sisulizer to scan Android values files as Android values files and not XML files. This will make sure that that data gets scanned correctly.

Build 370 will be released this week.

Ilkka



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

Current time is 03:00 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > "\n" in strings.xml from android app is incorrect



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