- Forum
- Plugins
- I2 Localization
- Is it possible to localize info in the config file without custome code?
Is it possible to localize info in the config file without custome code?
4 years 3 weeks ago #4275
by YevgenG
Hello, dear L2 developers! Thanks a lot for the pack! I'm extremely sattisfied by using it 
Though I have one question. I have a bunch of texts in the config files like these. Is it possible to localize texts in them with L2 localiztion without using custom code? Or I will need to add some functionalty to the asset to translate texts in them?

Though I have one question. I have a bunch of texts in the config files like these. Is it possible to localize texts in them with L2 localiztion without using custom code? Or I will need to add some functionalty to the asset to translate texts in them?
Please Log in or Create an account to join the conversation.
4 years 1 week ago #4289
by Frank
Are you
Give I2L
5 stars!
Are you
Please lets us know how to improve it!
Replied by Frank on topic Is it possible to localize info in the config file without custome code?
Hi,
If I understand you correctly, you have some ScriptableObject assets with strings in them, and you want to localize them.
That's easy to do using LocalizedStrings.
inter-illusion.com/assets/I2Localization...ocalizedStrings.html
Then only change you have to do is to replace all fields of type string by LocalizedString in those ScriptableObject's scripts.
That will allow you to specify a term for each of those strings so that when you retrieve their value it gets the translation to the current language.
Hope that helps
Frank
If I understand you correctly, you have some ScriptableObject assets with strings in them, and you want to localize them.
That's easy to do using LocalizedStrings.
inter-illusion.com/assets/I2Localization...ocalizedStrings.html
Then only change you have to do is to replace all fields of type string by LocalizedString in those ScriptableObject's scripts.
That will allow you to specify a term for each of those strings so that when you retrieve their value it gets the translation to the current language.
Hope that helps
Frank
Are you

Are you

To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
- Forum
- Plugins
- I2 Localization
- Is it possible to localize info in the config file without custome code?
Time to create page: 0.154 seconds