|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius | Page: 1 2 |
|
||||||||||||
| Problems with JSP - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
lgol27 Member
|
I have started to use Sisulizer. I am trying to traslate a big project using JSP, Javascript, HTML. After the translation the files are not parsible by JSP Parser. Here is an example, Original code : ..... %> --%> which (I don't know why) is translated to this: ...... %> --% The lack of second greater-than sign makes the jsp comment closing symbol into an unrecognizable one. I have found that the combinatation of and JSP code is problematic. Is there any way I can configure the Sisulizer to avoid this?
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
By the way I am using ver 1.6.15, if you are asking... And I turned off the option to scan server scripts. Here is another example, the original : <td <%=controller.formattedTabOnClick%> height="26" id="searchTab" oncontextmenu="displayMenu(menuSearch, '<%=0%>');return false;" align=center class=<%=controller.formattedTabClass%> background="images/corner.gif" style="background-repeat:no-repeat;" bgcolor="#617195" width=100 > <%=controller.formattedTabLabel%> </td> <td <%=controller.formattedTabOnClick%> height="26" id="searchTab" oncontextmenu="displayMenu(menuSearch, '<%=0%>');return false;" align=center <%=controller.formattedTabClass%> background="images/corner.gif" style="background-repeat:no-repeat;" bgcolor="#617195" width=100> <%=controller.formattedTabLabel%> </td> The translation has swallowed "class="
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
Can you send a sample JPS file that contains %> --%> to support (at) sisulizer.fi Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Thank you for the file. Yes. It turned out that JSP comments <%-- ... --%> make scanning to fail. We fixed that. Now I am tying to reproduce another error case. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
lgol27 wrote: <td <%=controller.formattedTabOnClick%> height="26" id="searchTab" oncontextmenu="displayMenu(menuSearch, '<%=0%>');return false;" align=center Can you send this as a file to support (at) sisulizer.fi This forum eats some characters so I can not get it exactly as it is. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
if you look at the file i have sent you, it is there. The translation eats the class attribute.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
I looked it (Country.jsp) but it does not contain this class = ... part. It contains the JSP comment block. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Thank you for the new file. I managed to reproduce the bug and we will fix it. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
lgol27 Member
|
any time estimates?
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Unfortunately we could not make the new build today. It will come on Monday. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
lgol27 Member
|
Monday is perfect. Thank you for the prompt responds.
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
Ver 1.6.18 Is there any chances that sisulizer will not touch white spaces in the jsp file? So it would not rearrange lines or wording... When I have this line : <td width="200" style="border: 1 inset #D9DBE0" <%=controller.fMCnowrap%> > The Sisulizer changes it to : <td width="200" style="border: 1 inset #D9DBE0"<%=controller.fMCnowrap% >> The difference is in the last 4 characters and after the change the JSP parser cannot recognize it as a valid string. The software does other whitespace changes, they are annoying but it would not matter if it worked. By the way, I have tried "clean syntax" option. Nothing happends.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Ilkka.Salmenius Administrator
|
With the current build 1.6.18 no. But I will add an option to 1.6.19.
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
Hi, I am still having problems with my JSP files. I have 2 major and 1 minor problems 1. Sisulizer is deleting an empty string “” from the script. . (line 121 in the attached file). 2. Sisulizer is changing the letters’ case in case-sensitive language. (line 85 in the attached file). 3. Sisulizer continues to move HTML code around (this is minor). I have sent an email with the relevant examples.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Ilkka.Salmenius Administrator
|
1 and 2 will be fixed to 1.6.21. We will release it on this friday. Issue 3 will be improved. regards Ilkka
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
1.6.21 fixed the issues, but it still has problems with declarational part of JSP.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
I got your file and was able to reproduce the problems. I am working with it now.
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
lgol27 Member
|
I have a problem with HTML tags. I have lots of checkboxes. In english version, the text and the value are the same. I want to translate the text but not the value. But every time when I do import from excel file, the excluded nodes get the translation. And though they are excluded(I check they all have 'excluded="1"' clause in the slp file), they all got translated in the localized files.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Ilkka.Salmenius Administrator
|
Could you send your HTML-file to me please. support (at) sisulizer.fi
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello,I have a problem with HTML tags. I have lots of checkboxes. In english version, the text and the value are the same. I want to translate the text but not the value. But every time when I do import from excel file, the excluded nodes get the translation. And though they are excluded(I check they all have 'excluded="1"' clause in the slp file), they all got translated in the localized files. I have reproduced this JSP issue and forwarded it to our R&D. Best regards, Janusz
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| Current time is 11:56 am | Page: 1 2 |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Problems with JSP | |
Sisulizer software localization tool - Three simple steps to localize