wmr049 / google-api-for-dotnet

Automatically exported from code.google.com/p/google-api-for-dotnet
0 stars 0 forks source link

Slow translation #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Translation of about 400 strings is taking about 2 1/2 minutes.
2.
3.

What is the expected output? What do you see instead?
The output has no problem.

What version of the product are you using? On what operating system?
Google API : 3.1, OS: Windows vista

Please provide any additional information below.

Original issue reported on code.google.com by amritage...@gmail.com on 20 Apr 2010 at 4:16

GoogleCodeExporter commented 9 years ago
Sir,
I am also geting same problem.
I am tranlating database data one by one string.
any other approch for this.

td_InnerHTML = td_InnerHTML + "</tr>" +
                                                "<tr>" +
                                                "<td class='shwd1' ><span>" + 
Google.API.Translate.Translator.Translate(ds.Tables[0].Rows[i]["Range_Name"].ToS
tring
(), Language.English, Language.French) + " </span>" + 
Google.API.Translate.Translator.Translate(ds.Tables[0].Rows[i]
["SKU_HeadLine"].ToString(), Language.English, Language.French) + "</td>" +
                                                "</tr>";

Original comment by rakesh20...@gmail.com on 26 Apr 2010 at 9:28

GoogleCodeExporter commented 9 years ago
to rakesh201180,
1,Update the lib to the latest version.
2,Try running your code in a local .NET app but not on the APS.NET server.

Original comment by iron9li...@gmail.com on 8 May 2010 at 10:14