> For the complete documentation index, see [llms.txt](https://realisticnode.gitbook.io/rnsetups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://realisticnode.gitbook.io/rnsetups/rncasino/configuration/languages.md).

# Languages and texts

Change any text, or translate rnCasino to your language.

Every text is in `languages/en.yml` and `languages/es.yml`. Pick one with `language` in `config.yml`.

* Colors: MiniMessage (`<gold>`, `<#ff8800>`, `<gradient:gold:yellow>`) or `&` codes (`&6`, `&#ff8800`).
* A message can be one line or a list of lines; `''` turns it off.
* `{@words.x}` inserts another text of the same file.
* PlaceholderAPI placeholders work in every text.

## Your own language

1. Copy `en.yml` to `languages/fr.yml` (any name).
2. Translate it. Texts you have not translated yet show in English, and texts added by new versions are written into your file in English.
3. Set `language: fr`, or turn on `per-player-language` so each player sees the language of their client.

## The words on the table

The words written on the 3D cloth (`EVEN`, `RED`, `1st 12`, `REPEAT`...) are under `board`. They always use the server's `language` (everybody sees the same table). Long words are made smaller to fit their space.

```yaml
board:
  even: "EVEN"
  red: "RED"
  button-repeat: "REPEAT"
```

## The hologram

The lines over the table are under `hologram`, one list for each state of the round (`waiting`, `betting`, `closed`, `spinning`, `result`; classic tables use `classic-waiting` instead of `waiting`). They can use `{name}`, `{time}`, `{players}`, `{total}`, `{min}`, `{max}`, `{code}`, `{result}` and `{history}`.

## Messages that are off by default

`bet.placed`, `bet.removed` and `bet.undone` are `""`: the action bar already shows your bets. Write a text in them to get a chat line too. The title of a loss (`titles.lose.title`) is empty too; only its subtitle shows.

## Table names

New tables get the name `table.default-name` (`<gold><bold>Roulette</bold> <gray>{table}`). Change each table's own name in `/casino edit` or in its file.
