> For the complete documentation index, see [llms.txt](https://gstudios.gitbook.io/gslibrary/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gstudios.gitbook.io/gslibrary/language-api/languages.md).

# Languages

Our language api allows us to provide users with an unlimited number of languages for each plugin. You can use premade languages and you can also create your own languages that you can then link to.

### :first\_place: First steps

When you load a plugin that supports our language api for the first time, a "languages" folder will be created in the plugin folder. This file will automatically create the preset languages.\
\
The line "language: en\_GB" will be created in the preset file "config.yml". This line specifies your currently used language on the server.

### :flag\_cz: Creating own language type

It's very simple. Just copy the existing language file for the template and then just create a new folder (e.g. "cs\_CZ.yml") and paste the copied text into it and edit it.

Then just set up your new language in config.yml

{% hint style="info" %}
Do you know, that you can make from one line message a multi-line message?\ <mark style="color:blue;">**Just change you message in the config from this**</mark>\
`message: 'line 1'`\ <mark style="color:blue;">**to this**</mark>\
`message:`\
&#x20; `- 'line 1'`\
&#x20; `- 'line 2'`
{% endhint %}

> We still want to improve our language api, so we plan to add a lot of features:\
> \- Crowdin link for huge servers\
> \- Per-player language
