Language Support
Select, edit, and add locales for Orbit DynamicHUD Addons.
Language Support
Orbit DynamicHUD Addons uses the ox_lib locale system. The active locale supplies seatbelt and cruise keybind labels plus success, disabled, and unavailable notifications.
Included Locales
| Language | Locale | File |
|---|---|---|
| English | en | locales/en.json |
| German | de | locales/de.json |
| Spanish | es | locales/es.json |
| French | fr | locales/fr.json |
| Swedish | sv | locales/sv.json |
| Turkish | tr | locales/tr.json |
Select A Locale
Set the replicated ox_lib locale before starting the addon.
setr ox:locale en
ensure ox_lib
ensure orbit-dynamichud-v2
ensure orbit-dynamichud-addonsFor Turkish, use setr ox:locale tr. Restart the addon after changing the convar or a locale file.
Customize Existing Text
Edit values in the active JSON file while keeping its keys and nesting intact.
{
"actions": {
"toggle_cruise_control": "Toggle Cruise Control"
},
"success": {
"cruise_control_enabled": "Cruise control enabled"
}
}Keep every key
Do not delete untranslated or apparently unused keys. Keybind registration and vehicle-state branches can resolve text that is not visible during a quick test.
Add A Language
- Copy
locales/en.jsonto a new file such aslocales/pt.json. - Translate values only and preserve every key, nested object, and placeholder.
- Validate the file as JSON.
- Set
setr ox:locale ptand restart the addon. - Test both keybind labels and every cruise success/error notification.
Changing a default keybind label may require the client to reconnect before it appears in FiveM settings. Existing player key overrides remain client-owned.