Error on Real Time Translation - host timed out..

More
4 years 8 months ago #584 by pchui38
Dear Sir,

I have been using the Real Time Translation feature & it is working fine since I bought your product, however,
I am having a problem this morning as the Google server seems to time out when I click the button to do the translation.
Is this something to do the Google server or to do with the coding?

Thanks very much for your help!
Peter


Error Messages as shown:
Resolving host timed out: www.google.com
UnityEngine.Debug:LogError(Object)
I2.Loc.<WaitForTranslation>c__Iterator0:MoveNext() (at Assets/I2/Localization/Scripts/Google/GoogleTranslation.cs:27)

Attachment RealTimeTranslateError.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #586 by Frank
Hi
I just tested and its working for me.

The plugin gets the translation by calling the google translator url with the parameters (as it will be if you click the "Translate" button in your browser) and then it parses the resulting html to get the translation returned.

If that url is timing out in your side, could it be a network issue or proxy? Also, could you check that your Unity is not been blocked by the firewall?

Here is an example of the url that the plugin generates:
http://www.google.com/translate_t?hl=en&vi=c&ie=UTF8&oe=UTF8&submit=Translate&langpair=en%7Ces&text=This%20is%20a%20test%20

Can you paste it in your browser and see if it times out as well?

Thanks,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #588 by pchui38
Hi Frank,

Thanks for your prompt reply.

Yes, I also think it may be a network issue, but I have built it as mobile app & tested working okay on the same wifi network.
So it is only the PC version that is not working this morning.

However, I have just tried again & it is working okay & the URL you have given me is working fine on the browser. So I guess it should be the network issue :)

Thanks for your help anyway!

Attachment googleTranslateURL.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.517 seconds
Template by JoomlaShine