|
|||
|
.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 ?
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
||||||||||||||||
| 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 | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
KarimB Member
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello, I see, empty originals issue is hot subject 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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
KarimB Member
|
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...
|
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Markus.Kreisel Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
KarimB Member
|
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 |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Ilkka.Salmenius Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Ilkka.Salmenius Administrator
|
I also added an "Empty Translation" validation Attachment: Empty1.PNG (Downloaded 27 times)
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Ilkka.Salmenius Administrator
|
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 |
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
KarimB Member
|
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....
|
||||||||||||||||
| |||||||||||||||||
| 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 ? | |
Sisulizer software localization tool - Three simple steps to localize