Skip to main content

Languages

FR Hub ships with 5 official languages:

CodeLanguage
esSpanish (default)
enEnglish
ptPortuguês
frFrançais
deDeutsch

All visible HUD text is translated:

  • Ring and speedometer labels.
  • Seatbelt messages (warning, ejection).
  • Settings panel texts (/hub).
  • Command notifications for /hud and /hub.
  • Minimap tooltips (street, zone, time, compass).

How to change the server language

Edit config.lua:

Config.Locale = 'en' -- es | en | pt | fr | de

Then restart the resource:

restart fr_hub

The change affects all players. If a player has set a personal language from the /hub panel, their individual preference takes priority over the server setting.


Per-player language

Each player can change the language from the /hub panel → Settings tab. The selection is saved with KVP and persists across sessions.


Adding a custom language

FR Hub translations are embedded directly in config.lua inside the Config.Strings block. There is no separate locales/ folder.

To add Italian (it), for example:

1. Open config.lua and add a new block inside Config.Strings:

Config.Strings = {
es = { ... },
en = { ... },
-- ... other existing languages ...

it = {
hud_on = 'HUD attivato',
hud_off = 'HUD disattivato',
seatbelt_on = 'Cintura allacciata',
seatbelt_off = 'Cintura slacciata',
limiter_on = 'Limitatore a %s %s',
limiter_off = 'Limitatore disattivato',
limiter_slow = 'Accelera prima di attivare il limitatore',
},
}

2. Set the new language as the server language:

Config.Locale = 'it'

3. Restart the resource:

restart fr_hub
tip

Since translations live inside config.lua, they won't be overwritten by updates as long as you keep your own config.lua.


Next step

Common issues