Page 1 of 1

Rich text support for displaying localised names

Posted: Tue Jan 05, 2021 10:54 am
by Lowosos
TL;DR
Support a rich text syntax that would display the localised name in each player's own language.

What ?
Add syntax for displaying localised names, something like

Code: Select all

[entity-name.coal]
that would resolve to Coal, or UhlĂ­ and so on depending on which player is viewing it.
Why ?
I am the maintainer of Resource Labels Updated. I know there's been a similar request already, viewtopic.php?p=382071. This is different, because it's also useful for the players. I could imagine using it for chart tags on a map where there are people with different languages connected and are used to the localised names.

Also, I think this should not be a big problem, because as opposed to the original proposition, the type in which it's stored wouldn't have to change. It would be still string. The only change would be to display the same string differently on each client, which is already done in almost all other places.