> 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-weddingvenue/languages.md).

# Languages

Change the language of CAS Wedding Venue or add a new one.

The prompts (*Sit Down*, *Stand Up*, *Change Pose*), the notifications and the answers to staff commands come from one language file in `locales/`. English (`en`) and Turkish (`tr`) are included.

```lua
Config.Locale = "en"   -- "en" or "tr"
```

## Adding a language

1. Copy `locales/en.lua` to a new file, for example `locales/de.lua`.
2. In the first lines, change `Locales['en']` to `Locales['de']`.
3. Translate the text on the right of each `=`. Keep every `%s` in place.
4. Set `Config.Locale = "de"` and restart.

A line you leave out falls back to English.

## Text drawn by the game

The Sit, Stand and Change Pose prompts are drawn by the game, whose font has no accented letters. The resource simplifies them there automatically: `ş` becomes `s`, `ö` becomes `o`. Notifications keep their accents.
