# Multiple Languages

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.

{% hint style="info" %}
We welcome you to contribute new translations or improve existing ones. Please let us know. Currently, we only have **English** (US) as default language.
{% endhint %}

* [x] English (US) Translation: **100%**
* [x] Vietnamese Translatio&#x6E;**:  100%**
* [x] Taiwanese Translation: **100%**
* [x] Russian Translation: **100%**

## How to add your own language to the plugin.

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

1. 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\]**](https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html).
2. Seconds, change the display name of Turkish translation in the file.<br>

   <pre class="language-yaml" data-title="tr-tr.yml" data-line-numbers><code class="lang-yaml">ConfigVersion: 1
   Name: "Turkish" # This line
   Messages:
   # ...
   </code></pre>
3. Navigate to the language selector GUI located at: **McmmoGuiV2/gui/LanguageSelector.yml** and add your new language button to the GUI.<br>

   <pre class="language-yaml" data-title="LanguageSelector.yml" data-line-numbers><code class="lang-yaml">Language_Turkish: # Button name.
     Slots: [11] 
     Locale: tr-tr # Your locale code here, same as the file name
     Material: head-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTg1MmI5YWJhMzQ4MjM0ODUxNGMxMDM0ZDBhZmZlNzM1NDVjOWRlNjc5YWU0NjQ3Zjk5NTYyYjVlNWY0N2QwOSJ9fX0=
   </code></pre>
4. Set the Default language to `tr-tr` in `settings.yml`
5. Restart your server, everything done, now you can translate your Turkish language file now.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.hyronic.dev/plugins/mcmmogui/multiple-languages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
