Plugins

Languages

Built-in multiple language support (GUI), this allows your players to choose their preferred language, you also can add your own language very easy.

We have built-in support for multiple languages per player. Yes, we allow players to select their preferred language. By default, the plugin uses English (which can be changed in settings.yml) as the default language for all.

We welcome you to contribute new translations or improve existing ones. Please let us know. Currently, we only have English (US) as default language.

  • English (US) Translation: 100%
  • Vietnamese Translation: 100%
  • Taiwanese Translation: 100%
  • Russian Translation: 100%

How to add your own language to the plugin.

In the example step below, I will add support language for Turkish

Create a copy of your language.

Copy the the en-us.yml file in plugin folder McmmoGuiV2/lang/en-us.yml then rename the Turkish (tr-tr.yml) locale code, you also can find your locale code [Here].

Seconds, change the display name of Turkish translation in the file.

tr-tr.yml
ConfigVersion: 1
Name: "Turkish" # This line
Messages:
# ...

Navigate to the language selector GUI located at: McmmoGuiV2/gui/LanguageSelector.yml and add your new language button to the GUI.

LanguageSelector.yml
Language_Turkish: # Button name.
  Slots: [11]
  Locale: tr-tr # Your locale code here, same as the file name
  Material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTg1MmI5YWJhMzQ4MjM0ODUxNGMxMDM0ZDBhZmZlNzM1NDVjOWRlNjc5YWU0NjQ3Zjk5NTYyYjVlNWY0N2QwOSJ9fX0=

Last updated on

On this page