prince2007g / multi-language-translation

Automatically exported from code.google.com/p/multi-language-translation
0 stars 0 forks source link

translate 90% and stops #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I installed the script on test page 
http://www.nakodamarbles.com/xyz.html

Script version : V0.2.5

I have modified the translation.js as per guidelines. 

Site is hosted on Linux OS, Apache Server.

Your example page works fine, and also the demo site getting fully translated. 

I asked few of my friends to test the page. result was same. It translates till 
90% only and retry message appears.

translate.js is attached herewith

Original issue reported on code.google.com by vinodcy...@gmail.com on 30 Jul 2010 at 5:46

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for reporting this problem. I can reproduce it using Firefox, though it 
seems to work fine in IE for some reason. Which browsers did your friends test 
this on?

After some testing, this seems to be an unusual issue caused by the way the 
page is structured. I think I've found a way to fix it however... :) Please go 
to line 555 of your copy of the script and change it from

var chars = 1000;

to

var chars = 990;

This seems to solve the problem for me, but if it doesn't work for you, try 
decreasing the value a bit more...

Hope this helps - let me know if it works :)

Original comment by phathway@gmail.com on 30 Jul 2010 at 8:21

GoogleCodeExporter commented 8 years ago
Thanks for help.

I have made the changes accordingly. 

Now it translates 100%.

I have checked in firefox 3.6.8, opera 10.60 and IE 8.0.6001.18702

I will check it on more browsers and inform accordingly.

Original comment by vinodcy...@gmail.com on 1 Aug 2010 at 5:21

GoogleCodeExporter commented 8 years ago
Thanks for the feedback!

By the sounds of it, this seems to have fixed the problem. I have added a new 
FAQ to the Documentation to help other users who may experience similar issues:

http://code.google.com/p/multi-language-translation/wiki/Documentation#The_Scrip
t_Seems_to_%27Hang%27_Part-Way_Through_Translatio

If you experience any further issues, or you discover that translation doesn't 
finish with any other browsers, please let me know - thanks again!

Original comment by phathway@gmail.com on 1 Aug 2010 at 2:37