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
Custom validation rules - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Dec 16th, 2015 11:46 am
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location: Vienna, Austria
Posts: 89
Status: 
Offline
Hi,

is it possible for users of Sisulizer to add custom validation rules to a project (e.g. provide a custom dll)?

We would like to be able to make custom checks on translated/original values in Sisulizer.

Reason:
We translate a lot of custom sources (xml-files, json-files, text-files). These files contain format strings like {0}, %s, %d, but these are not recognized by Sisulizer as format strings (because the source is a plain xml, json or text file). Sisulizer doesn't apply all checks to them (the "Inconsistent format string" validation doesn't work).

Example1: Textfile with c#-style format strings:

String1=Attribute '{0}' must not be null.
String2=Untranslated2
String3=Change of attribute '{0}' is not supported.

Example2: Standard Android resource file in XML format
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="string1">SD card</string>
    <string name="string2">Uploaded files must be %1$sMB or smaller.</string>
</resources>

please provide a solution for this use case

kind regards
impact

Back To Top PM Private Upload Quote Reply

 Posted: Wed Dec 16th, 2015 07:28 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3770
Status: 
Offline
You can use Required strings feature.
  • Go to "Row" menu -> "Required Strings" and type here required items.
  • Next in the Validation dialog check "Required Strings" on validation list.
If original contains required string e.g. {0}, but translation not, Sisulizer should display that in validation results.

Janusz



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

 Posted: Thu Dec 17th, 2015 07:28 am
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location: Vienna, Austria
Posts: 89
Status: 
Offline
Thx Janusz, but this is not practicable. This means EVERY ROW with format strings would have to be identified manually.
* The project has several thousands of rows.
* Every time a new Strings is added, the developer would have to think about marking the string in Sisulizer.
Unfortunately, this is not a solution.

Back To Top PM Private Upload Quote Reply

 Posted: Thu Dec 17th, 2015 07:55 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3770
Status: 
Offline
Yes, you are right, it should work on project/global level, and only if original contains required item. I'll ask our developer about this.

Janusz



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

 Posted: Thu Dec 22nd, 2016 02:05 pm
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location: Vienna, Austria
Posts: 89
Status: 
Offline
Hi,

any news on this issue?

Back To Top PM Private Upload Quote Reply

 Posted: Thu May 18th, 2017 03:00 pm
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location: Vienna, Austria
Posts: 89
Status: 
Offline
I'd like to push this issue again

Back To Top PM Private Upload Quote Reply

 Posted: Thu Jun 8th, 2017 09:18 am
PM Private Upload Quote Reply
Impact
Member
 

Joined: Wed Jul 11th, 2007
Location: Vienna, Austria
Posts: 89
Status: 
Offline
Any chance for this feature to be implemented?

Back To Top PM Private Upload Quote Reply

 Posted: Thu Jun 8th, 2017 09:42 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3024
Status: 
Offline
Hmmmm... I know that our developers do not like the idea to call third party code since it is a risk of crashing the whole application. I remind them anyway.

Perhaps it helps to know that the .SLP file is a XML structure and you easily can add check custom made checks outside of Sisulizer and include them into your batch job (SLMake). I know it is not the same in terms of usability...

Markus



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

Current time is 04:30 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > Custom validation rules



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