balazs-endresz / jquery-translate

Automatically exported from code.google.com/p/jquery-translate
5 stars 5 forks source link

After reloading the page some " " is added, but only if the language is English (IE only) #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. see the page http://www.propertyportal.com/Directory.aspx
2. When I select english, and then refresh.
3. You can see the page become widther, some text add " ".

I use version 1.4.6.

Thanks.

Original issue reported on code.google.com by zhglo...@gmail.com on 12 Aug 2010 at 6:06

GoogleCodeExporter commented 9 years ago
additional, the problem occure in IE 8.

Original comment by zhglo...@gmail.com on 12 Aug 2010 at 6:08

GoogleCodeExporter commented 9 years ago
That's quite strange...
The easiest way to fix this is to prevent the translation on page load to 
English:
if($.cookie(cookie_name) && $.cookie(cookie_name) != "en"){ ... }

Original comment by balazs.endresz on 12 Aug 2010 at 9:27

GoogleCodeExporter commented 9 years ago
If you switch to v1.4.7 then at least the spaces won't disappear after 
translation.

Original comment by balazs.endresz on 20 Aug 2010 at 10:53

GoogleCodeExporter commented 9 years ago
I have some problem also with v1.4.7 and   . 

I have this code in my page: 
...
<div class=".."> </div> 
...

e traslate return
...
<div class=".."> </div> 
...

and i have problem with formatting page

Original comment by piergior...@gmail.com on 28 Feb 2011 at 9:50

GoogleCodeExporter commented 9 years ago
sorry translate return 

...
<div class=".."></div> 
...

without   and so i have problem with formatting page

Original comment by piergior...@gmail.com on 28 Feb 2011 at 9:52

GoogleCodeExporter commented 9 years ago
@piergior...@gmail.com: Could you please provide an example here: 
http://code.google.com/p/jquery-translate/issues/detail?id=49

Original comment by balazs.endresz on 11 Mar 2011 at 7:41