Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... 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
Embedded HTML Source's Charset - 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 ...
AuthorPost
 Posted: Tue Jun 17th, 2008 03:03 pm
PM Quote Reply
starr
Member
 

Joined: Sat Jan 6th, 2007
Location:  
Posts: 86
Status: 
Offline
It's glad to find that Sisulizer supports embedded HTML source in the normal PE resources. However I'm not able to find where I can change the embedded HTML's charset though the PE resource's codepage could be changed.

You can get a copy of SnagIt and examine the SnagItRes.dll which contains a typical embedded HTML source if necessary.

Thanks.

Back To Top PM Quote Reply

 Posted: Tue Jun 17th, 2008 04:22 pm
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
The reason is because the html code in not inside <html>... </html> tags. The current version of Sizulizer needs at least the <html>-tags. Sisulizer can add <head> tags if not exits, but not <html> tags. That's why adding the <meta> tags failed.

I will fix this to the next build.

Here is one example of SnagIt's HTML file. No html, head and body tags can't be found.




<div class="tipCopy"  id="applicationMenu">


<h1 class="tipHeader">Use the Application Menu</h1>

<img src="%IMAGEPATH%/ApplicationMenu.gif" class="tipImage" style="padding-top:16px; padding-right:3px; padding-left:3px;" />
<!-- don't include a width or height on this image, please -->

<p style="padding-left:5px;">Everything you used to find in the file menu (and more) is now here.</p><p style="margin-top: -1em; padding-left:5px;">Just click the Application Menu to:</p>
 <ul style="margin-top: -1em; margin-bottom: -1em;">
  <li>Save files</li>
  <li>Convert images</li>
  <li>Print pages</li>
  <li>Open SnagIt's Options</li>
     <li>And more!</li>
 </ul>

</div>
<div class="learnMore" id="Div1">


<h2 class="learnMoreHeader">Learn More</h2>

SnagIt Editor has a Library view where you can find all your images.  Check out the online tutorials to see how it works.</div>



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

 Posted: Tue Jun 17th, 2008 04:59 pm
PM Quote Reply
starr
Member
 

Joined: Sat Jan 6th, 2007
Location:  
Posts: 86
Status: 
Offline
But sir, I don't think the main issue lies here. As a part of the whole html, the source you pasted will be loaded also as a part of the final output. That's to say, there is no need in most cases for this kind of "snippets" to be added meta tag as the charset of them will be automatically inherited from other sources as "text/html; charset=iso-8859-1".
The issue I wanted to report is rather the html that HAS meta tags and html tags. You can try to localize No.23908 html source which is virtually a complete html page. The corresponding target's charset is NOT changed. This is the issue.
Please recheck it. Thanks.

Back To Top PM Quote Reply

 Posted: Wed Jun 18th, 2008 02:33 pm
PM Quote Reply
starr
Member
 

Joined: Sat Jan 6th, 2007
Location:  
Posts: 86
Status: 
Offline
Today I further investigate into the issue and find it even critical. In fact, you can find that all the text in 23908 is replaced with "?" (3F) in the target. This means that all translation is rendered corrupted! This is really critical. Please fix it ASAP. Thanks a lot.

Back To Top PM Quote Reply

 Posted: Wed Jun 18th, 2008 02:37 pm
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
I am working on this

Jaakko



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

 Posted: Tue Jun 24th, 2008 04:23 pm
PM Quote Reply
starr
Member
 

Joined: Sat Jan 6th, 2007
Location:  
Posts: 86
Status: 
Offline
I wonder if this has been addressed as almost one week has passed.

Back To Top PM Quote Reply

 Posted: Wed Jun 25th, 2008 12:10 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
I found the bug but have not yet fixed it. But it will be fixed for the next build.

Jaakko



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

 Posted: Wed Jun 25th, 2008 04:35 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
I fixed this in the next buid. By default Sisulizer uses UTF-8 when creating localized HTML data. However you can force Sisulizer to use similar encoding to the original encoding. Right click a HTML node and check Use encoding that matches the original encoding radio button in the dialog box. You need to wait for next build to do this.

The matching encoding is found in the same encoding group. if original is using Windows code page localized also uses Windows code page but different code page (the one that matches the target language). Similary if original encoding is ISO ending the localized file uses ISO too.

Jaakko

Attachment: Untitled.png (Downloaded 11 times)



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

 Posted: Wed Jun 25th, 2008 06:13 am
PM Quote Reply
starr
Member
 

Joined: Sat Jan 6th, 2007
Location:  
Posts: 86
Status: 
Offline
Thanks for your quick fix. I'm eager to see your next build. When will it come out?

Back To Top PM Quote Reply

Current time is 04:33 pm  
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 > Embedded HTML Source's Charset



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize