> For the complete documentation index, see [llms.txt](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/scripts-paid/service-fun/english/configuration/translation.md).

# Translation

**Multilanguage Translation**\
The `Config.Traduction` parameter defines the language used by the script

**Configuration Example**

```lua
Config.Traduction = 'fr'
```

**How It Works**\
This parameter tells the script which translation file to use\
The language files are stored in the folder:

```
Dj_Fun/traduction
```

Each file corresponds to a language:

* `fr.json` → French
* `en.json` → English
* `de.json` → German
* `it.json` → Italian
* `es.json` → Spanish
* `ru.json` → Russian

**How to Change the Language**

1. Open `config.lua`.
2. Find the line:

   ```lua
   Config.Traduction = 'fr'
   ```
3. Replace `'fr'` with the desired language code:

   * French → `'fr'`
   * English → `'en'`
   * German → `'de'`
   * Italian → `'it'`
   * Spanish → `'es'`
   * Russian → `'ru'`

   **Example in English:**

   ```lua
   Config.Traduction = 'en'
   ```

**Important**

* Make sure the selected translation file exists in the `Dj_Fun/traduction` folder
* If the code does not match an available file, the script may fail to display texts correctly
