Support for different languages. #881
Unanswered
Mr-RainC0at
asked this question in
Script-related questions
Replies: 1 comment
-
Yes, however the displayName method on items/blocks will only generate for U.S. English (because of this line) // this requires minecraft 1.19.2+
// older versions use a different event that only supports U.S. English
ClientEvents.lang('ko_kr', event => {
event.renameItem('kubejs:some_custom_item', "Sorry, I don't know any Korean")
event.renameItem('kubejs:other_item', "Still don't know")
}) Where |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently adding a few custom items to a Fabric Server I run with my friends, who are Korean. I would like to know if it is possible to have items have translated names for certain languages like the base game of Minecraft.
Beta Was this translation helpful? Give feedback.
All reactions