Multiple 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.
How to add your own language to the plugin.
In the example step below, I will add support language for Turkish
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, you need to add translation of your new language to every existed language file.
tr-tr.ymlNavigate to the language selector GUI located at: McmmoGuiV2/gui/LanguageSelector.yml and add your new language button to the GUI.
LanguageSelector.ymlReload the plugin by command /mgui reload
Everything done, now you can translate your Turkish language file.
Last updated