> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_gangs/localizations.md).

# Localization

## Config

We support only the English language in the default, however you can either translate the original or make a new locale. Make sure you always set the language you want the resource to use:

```lua
Config.Locale = 'EN'
```

## Remarks

Please do note that missing translation will result in the label being translated as `'LABEL' translation not found`. Do not translate words in `{}` curly braces as they hold information for dynamic values.

## Original File

The easiest way to use your desired language is to translate the original in `rcore_gangs/locale/en.lua` file.

## Separate File

You can make a separate file for your desired language in `rcore_gangs/locale` folder. The name of the file does not matter. Copy everything from the original file in `rcore_gangs/locale/en.lua` to the newly created one, translate the labels and change the language shortcut. Here's an example for French language file:

```lua
-- Original English language file
Locale = Locale or {}
Locale['EN'] = {
    -- Labels
}

-- Seprate French language file
Locale = Locale or {}
Locale['FR'] = {
    -- Labels
}
```


---

# 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://documentation.rcore.cz/paid-resources/rcore_gangs/localizations.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.
