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.
Local name of item
Re: Local name of item
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.
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.
If you want to get ahold of me I'm almost always on Discord.