Translate stops at "&"
7 years 3 months ago - 7 years 3 months ago #2449
by nowISnow
Translate stops at "&" was created by nowISnow
If I use the "Translate" button and there is an & in my text, the translations stops there.
Last edit: 7 years 3 months ago by nowISnow. Reason: added picture
Please Log in or Create an account to join the conversation.
7 years 3 months ago - 7 years 3 months ago #2451
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Translate stops at "&"
Hi,
Thanks for letting me know about this issue!
It is now fixed in 2.8.0b6.
To fix it locally, you can replace the line 139 in the file assets\i2\localization\scripts\google\googletranslation.cs
with this one:
Hope that helps,
Frank
Thanks for letting me know about this issue!
It is now fixed in 2.8.0b6.
To fix it locally, you can replace the line 139 in the file assets\i2\localization\scripts\google\googletranslation.cs
with this one:
string url = string.Format("{0}?action=Translate&list={1}:{2}={3}", LocalizationManager.GetWebServiceURL(), LanguageCodeFrom, LanguageCodeTo, Uri.EscapeDataString( text ));
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
Last edit: 7 years 3 months ago by Frank.
Please Log in or Create an account to join the conversation.
7 years 3 months ago #2456
by nowISnow
Replied by nowISnow on topic Translate stops at "&"
Thanks! Was line 128 for me, but its working now
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds