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

# Languages

### <mark style="color:red;">◾ Location</mark>

All languages included with script are located in **`lua\modules\identix\lang`**

####

### <mark style="color:red;">◾ Add Language</mark>

* Copy **lua\modules\identix\lang\en.lua** file
* Rename copied en.lua file to your own language
  * Example: **lua\modules\identix\lang\ru.lua** ( russian )
* Open the new language file in a text editor.
* Locate the line:&#x20;
  * `mod.language[ 'en' ]`
* Change the line to your new language:&#x20;
  * `mod.language[ 'ru' ]`
* Translate all of the strings to your own language.

####

### <mark style="color:red;">◾ Set Default</mark>

* Open folder **lua\modules\identix\lang\\**
* Find the filename for the language you want to make as your default
* Open **lua\modules\identix\cfg\sh\_cfg.lua**
* Locate the setting **cfg.lang**
* Change **'en'** to your own language's filename (without the .lua at the end)

```lua
cfg.lang = 'ru' -- russian
cfg.lang = 'es' -- spanish
cfg.lang = 'fr' -- french
```

* Restart your server if changes do not get applied immediately.

####

### <mark style="color:red;">◾ Set Language</mark>

You can switch languages in-game on-the-fly by typing **`!lang`** in chat.

![](/files/-MTDxZqwDOMd9G_DZu16)

{% hint style="warning" %}
The languages in the list are a compiled set from all the addons you own running rlib. If you own multiple scripts, but only have French translations for one; then the one addon will be translated to French and the others will default to English.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://identix.rlib.io/configuration/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.
