Name | <&translate[key=<key>;(fallback=<fallback>);(with=<text>|...)]> |
Returns | ElementTag |
Description | Returns a special chat code that is read by the client to display an auto-translated message.
"key" is the translation key. Optionally specify "fallback" as text to display when the client can't find a translation for the key. Optionally specify "with" as a list of input data for the translatable message (parts of the message that are dynamic). Be warned that language keys can change between Minecraft versions. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. You can use ElementTag.strip_color to convert the translated output to plain text (pre-translated). |
Example |
|
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L183 |