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
Accents incorectly displayed - Usage - Three simple steps to localize - 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: Thu Aug 23rd, 2007 10:23 am
PM Quote Reply
Rajesh
Member
 

Joined: Tue Jul 17th, 2007
Location:  
Posts: 16
Status: 
Offline
Hi,

I am translating a page from English to french. The code for the original page is:

<%_(at)_ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="TestProject.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <title>WebForm1</title>
 </HEAD>
 <body>
  <form>
   <asp:Label id="Label1" runat="server" Width="88px">Name Details</asp:Label></TD>
  </form>
 </body>
</HTML>


The page generated by Sisulizer is:

<%_(at)_ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="TestProject.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <meta http-equiv="Content-Language" content="fr"><!-- by Sisulizer -->
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- by Sisulizer -->
  <title>WebForm1</title>
 </HEAD>
 <body>
  <form>
   <asp:Label id="Label1" runat="server" Width="88px">Détails nommés</asp:Label></TD>
  </form>
 </body>
</HTML>

When I run this page "Détails nommés" is displayed as "Détails nommés". I am using version 1.6.0. 

 

Back To Top PM Quote Reply

 Posted: Thu Aug 23rd, 2007 11:48 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
1. Your server doesn't regonize UTF-8 encodings. You have to check those.

Run your page and show the source in your WEB browser to check what kids of characters your server gives.

2. Or you can force Sizulizer to write ANSI text

Take a look at this picture

regards
Ilkka

Attachment: Encoding.PNG (Downloaded 26 times)

Last edited on Thu Aug 23rd, 2007 11:56 am by Jaakko.Salmenius



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

 Posted: Fri Aug 31st, 2007 11:13 am
PM Quote Reply
Rajesh
Member
 

Joined: Tue Jul 17th, 2007
Location:  
Posts: 16
Status: 
Offline
When the same characters are in the server-side code then sisulizer translates these correctly.

The source in the Web Browser is

.....................................................................................................................................................................

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
<meta http-equiv="Content-Language" content="fr"><!-- by Sisulizer -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- by Sisulizer -->
  <title>WebForm1</title>
 </HEAD>
 <body>
  <form name="Form1" method="post" action="WebForm1.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE" value="dDwtNjA2MTkwMTQ5O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDM+Oz47bDx0PHA8cDxsPFRleHQ7PjtsPETDqXRhaWxzIG5vbW3DqXM7Pj47Pjs7Pjs+Pjs+Pjs+dUfeuEWyEkZxtOwXBKJH1qMxIEw=" />

   <span id="Label2" style="width:136px;">Détails nommés</span>
   <br>
   <span id="Label4" style="width:112px;">Détails nommés</span>
  </form>
 </body>
</HTML>

..................................................................................................................................................................

Here I set the text of Label2 in .aspx page and the text of Label4 in .aspx.vb page.

 

Back To Top PM Quote Reply

 Posted: Fri Sep 7th, 2007 08:26 am
PM Quote Reply
Rajesh
Member
 

Joined: Tue Jul 17th, 2007
Location:  
Posts: 16
Status: 
Offline
Hi,

Do you have any update for me? :)

Back To Top PM Quote Reply

 Posted: Fri Sep 7th, 2007 08:51 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
1.6.6 is still under testing. We will release it as soon as it has been properly tested. One or two more days.

Jaakko



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

 Posted: Fri Sep 7th, 2007 09:00 am
PM Quote Reply
Rajesh
Member
 

Joined: Tue Jul 17th, 2007
Location:  
Posts: 16
Status: 
Offline
This will work fine in 1.6.6? That's good.

Back To Top PM Quote Reply

 Posted: Fri Sep 7th, 2007 09:59 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
Rajesh wrote: This will work fine in 1.6.6? That's good.

The problem is not in Sisulizer, but perhaps in your WEB server. It can't handle UTF-8 encoding. Sisulizer uses UTF-8 encoding by default.

1. UTF-8

- You have a translation "Détails nommés" in the sheet of Sisulizer

- By default Sisulizer writes it "Détails nommés" to the HTML file.

It will add:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- by Sisulizer -->

to tell the browser that this page uses UTF-8 encodings. Now the browser can show "Détails nommés" instead of "Détails nommés". But in your case the server can't handle UFT-8 encoding. You should modify your sever parameters

or

2. Force Sisulizer to write ANSI characters (see the picture above in this thread)

After that "Détails nommés" will be written "Détails nommés" to the HTML file.

best regars
Ilkka


Last edited on Fri Sep 7th, 2007 10:00 am by Ilkka.Salmenius



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

 Posted: Fri Sep 7th, 2007 10:30 am
PM Quote Reply
Rajesh
Member
 

Joined: Tue Jul 17th, 2007
Location:  
Posts: 16
Status: 
Offline
If I give the same characters directly in a .aspx page and do not use Sisulizer for translation then these characters are displayed correctly. And I use the same Web Server in both cases.

Back To Top PM Quote Reply

 Posted: Fri Sep 7th, 2007 10:39 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
Rajesh wrote: If I give the same characters directly in a .aspx page and do not use Sisulizer for translation then these characters are displayed correctly. And I use the same Web Server in both cases.


Yes, by default your server/bwoser uses western ANSI characters. If you translate directly english to frensh, there are no problem.

Set Sisulizer to use ANSI characters (see picture earlier) with french and rebuild your pages.

If it doesn't help. Read this.


Sisulizer also adds some language/charset information into <head> section.

<HTML>
 <HEAD>
<meta http-equiv="Content-Language" content="fr"><!-- by Sisulizer -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- by Sisulizer -->
  <title>WebForm1</title>
 </HEAD>

Your sever can't perhaps use those. Try to remove them.

Right click yor source and choose Properties...


Attachment: Modify.PNG (Downloaded 11 times)

Last edited on Fri Sep 7th, 2007 10:46 am by Ilkka.Salmenius



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

 Posted: Fri Sep 7th, 2007 10:41 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
Rajesh wrote: If I give the same characters directly in a .aspx page and do not use Sisulizer for translation then these characters are displayed correctly. And I use the same Web Server in both cases.


Could you send one of your original .aspx file to me, please

support (at) sisulizer.fi

 



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

Current time is 02:22 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) > Usage - Three simple steps to localize > Accents incorectly displayed



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