# Languages

[https://github.com/UlrichBR/UClans/tree/main/language](https://github.com/UlrichBR/UClans/tree/main/language)

The **UltimateClans** plugin currently supports 8 languages:

* **EN** (English)
* **PL** (Polish)
* **TR** (Turkish)
* **RU** (Russian)
* **ES** (Spanish)
* **HU** (Hungarian)
* **GE** (German)
* **BR** (Brazilian Portuguese)

#### Adding New Languages

You can easily add custom languages by creating new files in the `/UltimateClans/Languages/` folder. Follow these naming conventions:

* **GUI language files**: `Gui_Lang_<NAME>.yml`
* **Core language files**: `Lang_<NAME>.yml`

Replace `<NAME>` with your desired language identifier. For example, `Lang_FR.yml` for French or `Gui_Lang_IT.yml` for Italian.

#### Error Handling

If a language file contains errors, such as:

* Missing quotation marks in accented strings.
* Incorrect use of tabs.
* Missing required lines.

The plugin will regenerate the file using the default **EN** (English) language template to ensure functionality.

This system ensures that custom language files are robust and any issues are automatically corrected to avoid disruptions.
