# Languages and Localization

Starting v8.0.3, AdvancedEnchantments introduces localization by default. Most messages are now available in the `locale` folder of the `AdvancedEnchantments` plugin folder.

## **Included Languages**

* **English** en-us
* **German** de-de
* **Spanish** es-es
* **French** fr-fr
* **Indonesian** id
* **Dutch** nl-nl
* **Polish** pl-pl
* **Japanese** ja-jp
* **Swedish** sv-se
* **Turkish** tr-tr
* **Arabic** ar
* **Russian** ru-ru
* **Portuguese** pt-br
* **Romanian** ro
* **Italian** it
* **Chinese** (Simplified) zh-cn
* **Chinese** (Traditional) zh-tw
* **Hungarian** hu
* **Vietnamese** vi
* **Korean** ko

## Switching between languages

Switching the default plugin language is a very simple process. Simply, change the `language` setting in the `config.yml` to any of language included codes ([**Included Languages**](https://ae.advancedplugins.net/general-information/languages#included-languages), e.g. `en-us`, `id`, `nl-nl`) and restart your server.

```yaml
# Change default messages language. You can modify all messages in AdvancedEnchantments `locale` folder.
# Read more here: https://ae.advancedplugins.net/general-information/languages
language: 'en-us'
```

## Editing locale file messages

Editing the default messages from locale files is very easy. Open the `locale` folder in the `AdvancedEnchantments` folder, then find your assigned language file (default `en-us.yml`) and start editing there.

## Creating custom locale files

AE also supports creating your own language files. To do so, simply copy-paste one of the default locale files, rename it to the LCID string of the language you're translating to ([List of LCID strings](https://www.science.co.il/language/Locale-codes.php)). Then, follow the step above, inserting the LCID string of the language you just translated. If you would like to submit your translation to be included in the plugin, join our [Discord server](https://discord.gg/GzdQdMw), create a ticket, and send a [Pastebin](https://pastebin.com/) link containing the contents of your file.


---

# 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://ae.advancedplugins.net/general-information/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.
