Advice game with strings and no text compnents

More
6 years 1 month ago #2790 by CavernHead
Hello
I'm new to I2 localisation and im trying to understand how it all works. I may have lied my game does use text components but all the text is dynamicly changed via scripts. I would rather avoid having localize scripts placed on every prefab with a text component. All i need is to associate every "string" variable with a term. And to translate the termes via spread sheets.
Thanks in advance for any help.

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

More
6 years 1 month ago #2792 by Frank
Hi,
If you want to manage things from scripts, you can use the LocalizedString instead of a regular string.
inter-illusion.com/assets/I2Localization...ocalizedStrings.html

LocalizedString works as normal strings, but they take as input the Term's name, and alwas return the translation of that term to the current language.

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

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

More
6 years 1 month ago #2794 by CavernHead
yes the localized LocalizedString are defently intresting for me. I think im going to be able to do what i want now thanks lot.

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

Time to create page: 0.272 seconds
Template by JoomlaShine