Started by
VR_D0GE
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, i have a mod that is based around books, and i want to be able to have them in different languages. I wanted to ask how i could detect the user’s language and display the appropriate gui for there language. I am not really experienced with McCreatee but i will give what ever a shot.
In the text category in the procedure, with the
Get localized text for key [translation.key.name]
block, you can get the text based on the player's game language.Then, when you are in the workspace, by clicking on Localization in the menu on the left side of the page, you can add the key of your localized text and then write the text for different languages.
Then in the gui, take the text from the procedure.