GUI changing with different language

Started by VR_D0GE on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI changing with different language

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.

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the text category in the…
Wed, 01/08/2025 - 10:22

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.

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I realized that there is no…
Thu, 01/09/2025 - 12:35

I realized that there is no need for a procedure, because the label text itself is translatable and you can go to the localization tab and add it for other languages ​​when you have written the label text.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So my Ui is image based, i…
Sat, 01/11/2025 - 01:28

So my Ui is image based, i didnt use the text on the ui . I was wondering if i could do a procedure that would replace the ui the player would open with another that is translated. sorry if this really doesnt make since idk