Page 1 of 1

Local name of item

Posted: Sun Jul 31, 2016 4:36 pm
by Filmos
Hi,
I'm making a mod and I want to ask if there is any option to get local item name (the one after translation, doesn't need to detect player's language setting, but I don't want just .name) at the "data-final-fixes" stage.
I really need that and I will be very grateful for any help.

Re: Local name of item

Posted: Sun Jul 31, 2016 4:56 pm
by Rseding91
No, if you're printing to the console you can use the localised name from the item prototype which will translate to the actual name when printed.

Other than that, there's no way to get the translated name as that would be different on different languages and result in different code being run on each peer in a multiplayer game resulting in desyncs.

Re: Local name of item

Posted: Tue Aug 02, 2016 10:24 am
by Filmos
And isn't there any way to get only English translations?