Kulvir301 / multi-language-translation

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

translate error in chrome #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
i've added the script to a CMS project which is made using dotnetnuke the 
translate is working fine in IE but chrome

i opened the javascript console and found the following error

GET 
http://www.google.com/uds/Gtranslate?callback=google.language.callbacks.id173&co
ntext=22&q=3%3Cbr%20%2F%3E16%3Cbr%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%3Cspan%3E%3Cspan%3E%3Cinput%20type%3D%22image%22%20name%3D%22dnn%24ctr4
23%24dnnACTIONBUTTON4%24ctl00%24ctl00%24ctl00%22%20title%3D%22Settings%22%20src%
3D%22%2Fimages%2Faction_settings.gif%22%20alt%3D%22Settings%22%20style%3D%22bord
er-width%3A0px%3B%22%3E%3C%2Fspan%3E%26nbsp%3B%26nbsp%3B%3C%2Fspan%3E%0A%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%
20%20%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%3C%2Ftd%3E%0A%0A%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftr%3E%0A%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ft
body%3E%3C%2Ftable%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%3C%2Ftd%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2F
tr%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%0A%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E%0A%20%20%20%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20id%3D%22d
nn_BottomPane%22%20class%3D%22BottomPane%20DNNEmptyPane%22%3E%0A%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%2
0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftd%3E%0A%20%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftr%3E%0A%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20%20%3C%2Ftbody%3E%3C%2Ftable%3E&langpair=en%7Car&key=notsupplied
&v=1.0&nocache=1303207874951 414 (Request-URI Too Large)

i am using Version: 0.2.5 [2010-01-22]

chrome 10.0.648.204

Original issue reported on code.google.com by tari...@gmail.com on 19 Apr 2011 at 10:18

GoogleCodeExporter commented 8 years ago
Thanks for your problem report. 

Please can you provide a link to a webpage that demonstrates this issue? This 
will make it easier to identify the cause of the problem and to try to come up 
with a solution...

Based on the error message supplied, it looks like it's to do with the amount 
of spacing in the HTML code affecting the character limit, but I can't really 
investigate further without seeing the code that may be causing this.

Original comment by phathway@gmail.com on 19 Apr 2011 at 6:11

GoogleCodeExporter commented 8 years ago
The site is not hosted anywhere I was working on localhost, ill try to host
it somewhere and give u a link
 On 19 Apr 2011 23:11, <multi-language-translation@googlecode.com> wrote:

to

Original comment by tari...@gmail.com on 19 Apr 2011 at 7:38

GoogleCodeExporter commented 8 years ago
OK, that sounds fine.

Alternatively, if it makes it easier, you could save a copy of the page within 
your browser and upload it here. To do this in Chrome:

1. Navigate to the page that's causing the problem
2. Access the browser menu (top right), go to 'Save Page As'.
3. In the dialog box that appears, make sure that the 'Save as type:' listbox 
displays the words 'Web Page, HTML only'. Save the file.
4. Make a new comment on this page, and attach the html file you saved by 
clicking on the 'attach a file' link. Please can you also attach your copy of 
the translate.js file?

Thanks, and hope this helps...

Original comment by phathway@gmail.com on 20 Apr 2011 at 9:58