How to change locale
HUD strings (NUI + client keybind labels) load from JSON under locales/.
1
Pick a language
Available out of the box:
File
Language
locales/en.json
English
locales/pl.json
Polish
2
Set Config.Locale
In config/MainConfig.lua:
Config.Locale = 'pl'Use the file name without .json.
3
Restart the resource
ensure op-hudOr restart the server. Players already in settings should reopen the menu to see updated strings.
Adding your own language
Copy
locales/en.jsonto e.g.locales/de.jsonTranslate values (keep keys identical)
Set
Config.Locale = 'de'
Last updated