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

# Languages and texts

Change any text, or translate rnPsMenu 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.

## Flag values

The words players see for flag values (in the flags menu, in messages and in `/psmenu info`) are under `words`:

```yaml
words:
  value-allow: '<green>Allowed'
  value-deny: '<red>Denied'
  value-true: '<green>Yes'
  value-false: '<red>No'
  not-set: '<gray>Not set'
```

## Flag names

Names and descriptions of flags are under `flags` in the language files:

```yaml
flags:
  pvp: {name: 'PvP', description: ['Players can hurt each other.']}
```
