reference other keys

More
2 weeks 4 days ago - 2 weeks 3 days ago #3891 by topspin
reference other keys was created by topspin
Hi, I have this scenario.

level_up_x_y - Level up {x} to level {y}

where {x} maybe some character name
and {y} maybe a value


What's the best way to accomplish this?
Last edit: 2 weeks 3 days ago by topspin.

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

More
1 week 5 days ago #3895 by Frank
Replied by Frank on topic reference other keys
You should use parameters if you need to replace texts inside the translations:
inter-illusion.com/assets/I2LocalizationManual/Parameters.html

Or if you need more control, you can do a callback
inter-illusion.com/assets/I2LocalizationManual/Callbacks.html

Either way, you can replace the value inside the translations before setting them into the label.

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.

Time to create page: 0.148 seconds
Template by JoomlaShine