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
How to detect empty string in the original ? - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Fri Jan 23rd, 2009 07:33 am
PM Private Upload Quote Reply
KarimB
Member
 

Joined: Fri Nov 14th, 2008
Location:  
Posts: 16
Status: 
Offline
Hi all,

I face a simple issue. For some reasons I have to localize ressource that  can potentially have empty string as the developer may have forgotten to write it !!!

It is a developer  error and it should not happen (as all errors).

For instance the developper replace an hard coded string in his code by a string in the resource but forgot to copy the string. The resulting resx file will have a string id and eventually a comment but no text  associated that could be use as an original.

When I do a scan change this string is not dectected as a potential error and it it is not even added as something to translate.

At least I could expect Sisu to create a row with the string id and an empty original. Or if it is not possible a warning with the string id.

I am missing something ? Is there a way to detect these string with Sisulizer as so far they are just ignored ?

 

 

Last edited on Fri Jan 23rd, 2009 07:35 am by KarimB

Back To Top PM Private Upload Quote Reply

 Posted: Fri Jan 23rd, 2009 10:19 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


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

I see, empty originals issue is hot subject:), because it was mentioned recently by two other forum users. After Frede request our R&D will implement to next build option for exclude null (empty) originals from project, and you could to see screenshot here: http://forum.sisulizer.com/forum4/1163.html. Your warning message idea could be incompatible with already implemented Frede request, but your idea seems to me also interesting and I’ll forward it to our developers.

 I am missing something ? Is there a way to detect these string with Sisulizer as so far they are just ignored ?
Current version of Sisulizer allows on sorting original strings by click on Original column header. It should to group all empty originals on the top or the end of column. Below is screenshot:

Best regards,
Janusz

Attachment: screen.png (Downloaded 38 times)



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

 Posted: Mon Jan 26th, 2009 11:04 am
PM Private Upload Quote Reply
KarimB
Member
 

Joined: Fri Nov 14th, 2008
Location:  
Posts: 16
Status: 
Offline
Thank you for your answer. I can't use the filter solution as the empty strings do not even show up in the Sisu project as they are just ignored.

At first, I though  that they were filtered out but my filters are ok.

I prefer to have the "warning solution" as for me it is more something to check before i.e. at the beginning of the translation process.

This idea is may be more related to some kind of "orginal validation" but even closer to the real resource i.e the resource that were used at first to build the project. Something to launch before a scan for changes to check that developers did not spoiled the resources ;)

Without this, we have to review the resx files (orginal) to find those faulty empty string.

Notice that when I say empty I am unsure if they are really empty or blank strings.

I hope it make sense for you...

Back To Top PM Private Upload Quote Reply

 Posted: Mon Jan 26th, 2009 01:06 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

can you pease send us the resouce file with empty entries so we can take a look.
Please send the file to support (at) sisulizer.fi and please add hint which entry you mean.

Markus



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

 Posted: Mon Jan 26th, 2009 03:12 pm
PM Private Upload Quote Reply
KarimB
Member
 

Joined: Fri Nov 14th, 2008
Location:  
Posts: 16
Status: 
Offline
I will send you asap that you need to reproduce. It can take me some time as it is a big project and I have to scale it down

26/01 11:31 update : application sent

Mail copy

I created a new C# Visual Studio 2008 SP1 project containing 3 strings.

Empty that is empty

NotEmpty that contains something different from " "

And Blank that contains only spaces.

I created a new Sisu 279 project from the solution and only NotEmpty and Blank show up.

Beware that it is a mistake to have an empty string but it can happen and it is difficult to detect without a tool on big projects.

Attachment: TestSisuEmptyString.zip (Downloaded 2 times)

Last edited on Tue Jan 27th, 2009 07:36 am by KarimB

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 02:36 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 956
Status: 
Offline
In the build 280 will be a possibility to filter by empty originals (just like previous builds with translation).

Attachment: Empty.PNG (Downloaded 28 times)



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

 Posted: Wed Jan 28th, 2009 02:43 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 956
Status: 
Offline
I also added an "Empty Translation" validation

Attachment: Empty1.PNG (Downloaded 27 times)



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

 Posted: Wed Jan 28th, 2009 02:55 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 956
Status: 
Offline
And also a validation for empty originals. These all tree new features will be in build 280

Attachment: Empty2.PNG (Downloaded 25 times)



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

 Posted: Wed Jan 28th, 2009 09:06 am
PM Private Upload Quote Reply
KarimB
Member
 

Joined: Fri Nov 14th, 2008
Location:  
Posts: 16
Status: 
Offline
I am glad I purchased your product as the support is so good.

It is what I had in mind so I am waiting the 280 with impatience to test these new features....

Back To Top PM Private Upload Quote Reply

Current time is 05:25 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > How to detect empty string in the original ?



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