Translations
Translations live in config/locales/, one JSON file per language, named with its code.
English is the base
Section titled “English is the base”en.json is both the base and the fallback. A key missing from another language falls
back to the English one — so a partial translation degrades gracefully instead of showing
a blank label or a raw key.
That also means: when a new version adds strings, untranslated languages keep working. You translate the new keys when you get to them.
Editing a bundled language
Section titled “Editing a bundled language”Open the file, change the values, leave the keys alone:
{ "menu.appearance.title": "Aparência", "menu.appearance.opacity": "Opacidade do fundo"}Then restart the resource:
restart hudAdding a language
Section titled “Adding a language”- Copy
en.json. - Translate the values.
- Save it as the language code —
it.json,nl.json,pl.json.
It appears in the menu on the next restart. No registration step, no list to update.
Which language a player sees
Section titled “Which language a player sees”Admins set the server default in /hud → Admin. Each player can then pick another for
themselves, and that choice is saved with the rest of their settings.