Is there document for In Game Dynamic Translations
9 years 8 months ago #549
by pchui38
Is there document for In Game Dynamic Translations was created by pchui38
Dear all,
It seems the In Game Dynamic Translations is a new feature added into I2 Localisation.
I am thinking to buy this Unity plugin before this new feature, however, I couldn't find any document talking this topic.
Has the latest document men
tioned about how to use this feature of In Game Dynamic Translations?
Thank you for your notice!
Best Regards,
Peter
It seems the In Game Dynamic Translations is a new feature added into I2 Localisation.
I am thinking to buy this Unity plugin before this new feature, however, I couldn't find any document talking this topic.
Has the latest document men
Attachment I2Loc_DynamicTranslations.jpg not found
tioned about how to use this feature of In Game Dynamic Translations?
Thank you for your notice!
Best Regards,
Peter
Attachment I2Loc_DynamicTranslations.jpg not found
Attachments:
Please Log in or Create an account to join the conversation.
9 years 8 months ago - 9 years 8 months ago #550
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Is there document for In Game Dynamic Translations
Hi,
I have been rewriting the documentation as some of it is referring to old versions. But I haven't finished yet. The new doc will be ready for sure for when the Crowd Localization feature is released as that changes some of the editor interfaces.
As for the In Game Dynamic Translations, there is an example scene with the scripts showing how to use it.
Nonetheless, is pretty simple: This are the two functions you can call:
They both translate the text from the given language (can be "auto") into the target language. The first function is async, so it returns right away and when the google returns the translation, it calls the callback function with the translation.
The ForceTranslate function works the same, but blocks the game until google returns the translation.
Hope that helps.
Thanks,
Frank
I have been rewriting the documentation as some of it is referring to old versions. But I haven't finished yet. The new doc will be ready for sure for when the Crowd Localization feature is released as that changes some of the editor interfaces.
As for the In Game Dynamic Translations, there is an example scene with the scripts showing how to use it.
Nonetheless, is pretty simple: This are the two functions you can call:
GoogleTranslation.Translate( string text, string LanguageCodeFrom, string LanguageCodeTo, Action<string> OnTranslationReady )
and
GoogleTranslation.ForceTranslate ( string text, string LanguageCodeFrom, string LanguageCodeTo );
They both translate the text from the given language (can be "auto") into the target language. The first function is async, so it returns right away and when the google returns the translation, it calls the callback function with the translation.
The ForceTranslate function works the same, but blocks the game until google returns the translation.
Hope that helps.
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
Last edit: 9 years 8 months ago by Frank.
The following user(s) said Thank You: pchui38
Please Log in or Create an account to join the conversation.
9 years 8 months ago #551
by pchui38
Replied by pchui38 on topic Is there document for In Game Dynamic Translations
Thank you Frank,
Very much appreciated for your prompt reply & instructions..
And I've just bought your plugin.. LOoks great!!
Very much appreciated for your prompt reply & instructions..
And I've just bought your plugin.. LOoks great!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.188 seconds