Translate all from script

More
2 months 3 weeks ago #3919 by smaika
I'll get right into it. Basically, I add a term at runtime using the Source.AddTerm() function then I set the translation in English using SetTranslation() not how can I automatically translate this string to all other languages I have as if I clicked the Translate All button from the inspector?

Thanks,

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

More
2 weeks 4 days ago #3986 by smaika
Replied by smaika on topic Translate all from script
Anything?

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

More
2 weeks 3 days ago #3987 by Frank
Replied by Frank on topic Translate all from script
You can use the translation API:
inter-illusion.com/assets/I2Localization...ameTranslations.html

Is mainly meant for runtime, but it works in the editor tool. The Editor tools are just a wrapper around them.
There is also an example scene showing how that works.

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 following user(s) said Thank You: smaika

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

Time to create page: 0.122 seconds
Template by JoomlaShine