Welcome, Guest
Username: Password: Remember me

TOPIC: I2 WebService broken? 'Problem contacting service'

I2 WebService broken? 'Problem contacting service' 3 weeks 2 days ago #2726

  • bazz_boyy
  • bazz_boyy's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Howdy,

I have been getting this error this morning after successfully making auto-translations yesterday:


There was a problem contacting the WebService. Please try again later
<!DOCTYPE html><html><head><link rel="shortcut icon" href="//ssl.gstatic.com/docs/script/images/favicon.ico"><title>Error</title><style type="text/css">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style="margin:20px"><div><img alt="Google Apps Script" src="//ssl.gstatic.com/docs/script/images/logo.png"></div><div style="text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px">Service invoked too many times for one day: translate. (line 45, file "Translate", project "Copy of I2GoogleWebServiceV5")</div></body></html>
UnityEngine.Debug:LogError(Object)
I2.Loc.LocalizationEditor:ShowMessage(String, MessageType, Boolean) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor.cs:215)
I2.Loc.LocalizationEditor:ShowError(String, Boolean) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor.cs:200)
I2.Loc.<OnGUI_Keys_Languages>c__AnonStorey1:<>m__0(String, String) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs:255)
I2.Loc.<Translate>c__AnonStorey1:<>m__0(Dictionary`2, String) (at Assets/I2/Localization/Scripts/Google/GoogleTranslation.cs:52)
I2.Loc.<WaitForTranslation>c__Iterator0:MoveNext() (at Assets/I2/Localization/Scripts/Google/GoogleTranslation_Post.cs:115)
I2.Loc.<Start>c__AnonStorey1:<>m__0() (at Assets/I2/Localization/Scripts/Utils/CoroutineManager.cs:39)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()


Does anyone have a solution?
The administrator has disabled public write access.

I2 WebService broken? 'Problem contacting service' 3 weeks 2 days ago #2727

  • bazz_boyy
  • bazz_boyy's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
oooop I didnt read... "Service invoked too many times for one day: translate."

I suppose I'll have to wait...?
The administrator has disabled public write access.

I2 WebService broken? 'Problem contacting service' 3 weeks 2 days ago #2728

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 962
  • Thank you received: 208
  • Karma: 63
I have to refactor how that error shows to make it more understandable.
The problem is that the Free Google Translate tier can only handle so many translations per hour/min. So, when translating large databases or querying too often, it gets to the limit.

You are still able to use the WebService to Import/Export from google, but no translation, sorry!

One way to deal with this without having to wait, its to Export your language source to a google Spreadsheet, and place a "=GOOGLETRANSLATE(.....)" formula in the column of the language your want to translate. That will get all the translations without dealing with the Translate limit.
Then, Import back to Unity, and you will get everything translated.

Once I release this next version I will move into tweaking the translate to avoid this limit, by actually using the batching mode. In the current I2L I implemented a batch mode for translations, but I haven't still used it for the editor (just for the runtime).

Hope that helps,
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
The administrator has disabled public write access.

I2 WebService broken? 'Problem contacting service' 3 weeks 2 days ago #2729

  • bazz_boyy
  • bazz_boyy's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Thanks Frank, It probably would have also helped if I used the Language>Translate instead of translating every term individually :,D
The administrator has disabled public write access.
Time to create page: 0.282 seconds
Colors