Send failed since rewinding of the data stream fai
7 years 2 weeks ago #2613
by fidi
Send failed since rewinding of the data stream fai was created by fidi
Please Log in or Create an account to join the conversation.
7 years 2 weeks ago #2614
by fidi
Replied by fidi on topic Send failed since rewinding of the data stream fai
I'm sorry, in the moment I sent the question I did not see that another had the same problem.
I wiil try that solution.
I wiil try that solution.
Please Log in or Create an account to join the conversation.
7 years 2 weeks ago #2615
by fidi
Replied by fidi on topic Send failed since rewinding of the data stream fai
I changed the file Assets\I2\Localization\Scripts\Editor\Localization\LocalizationEditor_Terms_Description.cs line 181
The problem still persist..
var termType = eTermType.Text;
if (localizeCmp!=null && localizeCmp.mLocalizeTarget != null)
{
termType = IsPrimaryKey ? localizeCmp.mLocalizeTarget.GetPrimaryTermType(localizeCmp)
: localizeCmp.mLocalizeTarget.GetSecondaryTermType(localizeCmp);
}
The problem still persist..
Please Log in or Create an account to join the conversation.
7 years 2 weeks ago #2617
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Send failed since rewinding of the data stream fai
Hi,
That was the fix for the Add Terms to Source not working when clicking it from the LanguageSource instead of from the Localize component.
The fix for the "Send failed since rewinding of the data stream failed" is the following:
change in file assets\i2\localization\scripts\google\googletranslation_post.cs line 122
from
into
The problem is that in different versions of unity the rewind message is different. So, I'm fixing it by making any error related to rewinding, go an fallback to a GET method.
Hope that help,
Frank
That was the fix for the Add Terms to Source not working when clicking it from the LanguageSource instead of from the Localize component.
The fix for the "Send failed since rewinding of the data stream failed" is the following:
change in file assets\i2\localization\scripts\google\googletranslation_post.cs line 122
from
if (errorMsg.Contains("necessary data rewind wasn't possible"))
into
if (errorMsg.Contains("rewind"))
The problem is that in different versions of unity the rewind message is different. So, I'm fixing it by making any error related to rewinding, go an fallback to a GET method.
Hope that help,
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.
7 years 2 weeks ago #2619
by fidi
Replied by fidi on topic Send failed since rewinding of the data stream fai
Thanks, that worked!
Regards.
Regards.
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds