Feature request: Language parameter to Get()
- johnnemann
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
7 years 10 months ago #2263
by johnnemann
Feature request: Language parameter to Get() was created by johnnemann
Hi!
It would be really useful to me to have a version of the ScriptLocalization.Get() function that let me fetch a translation in a particular language without switching the whole game to that language.
e.g. ScriptLocalization.Get("Hello world!", "fr"); that would return the French translation every time.
is this possible/easy?
It would be really useful to me to have a version of the ScriptLocalization.Get() function that let me fetch a translation in a particular language without switching the whole game to that language.
e.g. ScriptLocalization.Get("Hello world!", "fr"); that would return the French translation every time.
is this possible/easy?
Please Log in or Create an account to join the conversation.
- johnnemann
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
7 years 10 months ago #2268
by johnnemann
Replied by johnnemann on topic Feature request: Language parameter to Get()
I was able to hack this in in a few minutes last night - good enough for my purposes, at least.
Still, it might be useful for other folks.
Still, it might be useful for other folks.
Please Log in or Create an account to join the conversation.
7 years 10 months ago #2269
by Frank
Are you
Give I2L
5 stars!
Are you
Please lets us know how to improve it!
Replied by Frank on topic Feature request: Language parameter to Get()
Hi,
Thanks a lot for the suggestion!
I added an extra parameter to those functions for overriding the language. I will be including that change in the next beta!
Thanks!
Frank
Thanks a lot for the suggestion!
I added an extra parameter to those functions for overriding the language. I will be including that change in the next beta!
Thanks!
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.
Time to create page: 0.162 seconds