# Locale & Debug

File: `shared/config.lua`

***

## Config.Debug

| Key     | Type      | Default | Description                                                         |
| ------- | --------- | ------- | ------------------------------------------------------------------- |
| `Debug` | `boolean` | `true`  | Enables debug mode. Prints extra information to the server console. |

{% hint style="warning" %}
⚠️ Production: Always set this to `false` before deploying to a live server.
{% endhint %}

```lua
Config.Debug = true
```

***

### Language / Locale

```lua
Config.Locale = 'en'
```

Purpose: Set the language for all UI text, notifications, and messages.

Available Languages:

| Code   | Language | File              |
| ------ | -------- | ----------------- |
| `'en'` | English  | `locales/en.json` |
| `'pl'` | Polish   | `locales/pl.json` |
| `'de'` | German   | `locales/de.json` |
| `'es'` | Spanish  | `locales/es.json` |
| `'fr'` | French   | `locales/fr.json` |
| `'hi'` | Hindi    | `locales/hi.json` |
| `'ja'` | Japanese | `locales/ja.json` |
| `'ru'` | Russian  | `locales/ru.json` |
| `'zh'` | Chinese  | `locales/zh.json` |
