BUG called "translate" too much times in short time

More
2 years 10 months ago - 2 years 10 months ago #4335 by kevinwantit
I've just added a new language for my project, there are more than 400 terms in it.
but the plugin said:

There was a problem contacting the WebService. Please try again later
Exception: the following services are called too many times in short time:translate。please try to use in each call Utilities.sleep(1000)。 (in Line 45 ,file name:Translate)
UnityEngine.Debug:LogError(Object)
I2.Loc.LocalizationEditor:ShowMessage(String, MessageType, Boolean) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor.cs:240)
I2.Loc.LocalizationEditor:ShowError(String, Boolean) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor.cs:225)
I2.Loc.LocalizationEditor:OnLanguageTranslated(Dictionary`2, String) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Languages.cs:382)
I2.Loc.TranslationJob_POST:ProcessResult(Byte[], String) (at Assets/I2/Localization/Scripts/Google/TranslationJob_POST.cs:59)
I2.Loc.TranslationJob_POST:GetState() (at Assets/I2/Localization/Scripts/Google/TranslationJob_POST.cs:38)
I2.Loc.TranslationJob_Main:GetState() (at Assets/I2/Localization/Scripts/Google/TranslationJob_Main.cs:57)
I2.Loc.<WaitForTranslations>d__11:MoveNext() (at Assets/I2/Localization/Scripts/Google/GoogleTranslation_Post.cs:103)
I2.Loc.<>c__DisplayClass4_1:<Start>b__0() (at Assets/I2/Localization/Scripts/Utils/CoroutineManager.cs:41)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:332)

I guess google translation service made new limit recently, I added a language last month and it was fine.

I manually translated terms one by one with the translate all button in each term, the translate function finally worked on the last 150 terms
Last edit: 2 years 10 months ago by kevinwantit.

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

Time to create page: 0.162 seconds
Template by JoomlaShine