Multicharacter
Translations
Locale files, changing texts, adding a new language, and translating config texts.
On this page4 sections
Every player-facing text comes from locale/<code>.json: UI, notifications, chat messages, admin command replies, and kick reasons.
en.json and pl.json are included, complete, and share the same keys.
Server console logs are always in English, because they are diagnostics for admins.
Choose a language
Config.Locale = 'pl'Change a text
Open the locale file and change the value of a key:
"welcome.title": "Welcome to the city",Keep the keys unchanged. %s and %d are placeholders for values such as the server name and must stay in the text.
Add a language
- Copy
locale/en.jsonto, for example,locale/de.json. - Translate the values.
- Set
Config.Locale = 'de'.
Missing keys fall back to English, so an incomplete translation breaks nothing.
Texts from the config
Texts you write in the config are translated by locale keys. Without a key, the config text is shown.
| Element | Key |
|---|---|
| Select scene | camera.location.<key> |
| Camera animation | camera.anim.<name> |
| Image filter | camera.filter.<name> |
| Spawn location name | spawn.loc.<key>.label |
| Spawn location area | spawn.loc.<key>.area |
| Spawn location text | spawn.loc.<key>.description |
Values from details | spawn.detail.<lowercase value> |
Example for a spawn location with the key bank:
"spawn.loc.bank.label": "Central Bank","spawn.loc.bank.area": "Pillbox Hill","spawn.loc.bank.description": "Right in front of the bank entrance."