Welcome, Guest
Username: Password: Remember me

TOPIC: Advice game with strings and no text compnents

Advice game with strings and no text compnents 6 months 2 weeks ago #2790

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.
The administrator has disabled public write access.

Advice game with strings and no text compnents 6 months 2 weeks ago #2792

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1123
  • Thank you received: 240
  • Karma: 70
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
The administrator has disabled public write access.

Advice game with strings and no text compnents 6 months 2 weeks ago #2794

yes the localized LocalizedString are defently intresting for me. I think im going to be able to do what i want now thanks lot.
The administrator has disabled public write access.
Time to create page: 0.221 seconds
Colors