> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-housing/languages.md).

# Languages

CAS Housing languages. English, Turkish, German, French, Spanish, Portuguese (Brazil), Russian and Polish ship with it; add your own from the template.

Set the language in `config.lua`:

```lua
Config.Locale = "en"
```

| Code    | Language            |
| ------- | ------------------- |
| `en`    | English             |
| `tr`    | Turkish             |
| `de`    | German              |
| `fr`    | French              |
| `es`    | Spanish             |
| `pt-BR` | Portuguese (Brazil) |
| `ru`    | Russian             |
| `pl`    | Polish              |

Every text players and staff see is in `locales/<code>.json`: the menus, the prompts, the notices and the furniture names.

## Your own language

1. Copy `locales/template.json` to `locales/<code>.json`.
2. Fill in the values.
3. Set `Config.Locale = "<code>"`.

A text left empty shows in English.
