Language Support
Select, edit, and add locales for Orbit Crafting System.
Language Support
Orbit Crafting System uses the ox_lib locale system. The active locale supplies crafting UI text, target labels, errors, progress messages, command text, and server 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 |
| Italian | it | locales/it.json |
| Swedish | sv | locales/sv.json |
| Turkish | tr | locales/tr.json |
Select A Locale
Set the replicated ox_lib locale before starting the resource.
setr ox:locale en
ensure ox_lib
ensure orbit-lib
ensure orbit-craftingsystemFor Swedish, use setr ox:locale sv. Restart Orbit Crafting System after changing the convar or a locale file.
Customize Existing Text
Edit values in the active JSON file while preserving its keys, nesting, placeholders, and value types.
{
"example_key": "Example text"
}Keep JSON valid: use double quotes, place commas between entries, and do not add a trailing comma after the final entry.
Keep every key
Do not delete untranslated or apparently unused keys. Copy the complete English structure when adding a language so UI, command, target, and server paths can resolve every value.
Add A Language
- Copy
locales/en.jsonto a new file such aslocales/pt.json. - Translate values only; preserve every key and nested object.
- Keep interpolation placeholders such as
%s,{name}, or{value}unchanged when present. - Validate the file as JSON.
- Set
setr ox:locale ptand restart Orbit Crafting System. - Test station, bench, blueprint, progress, success, failure, and command text.
If a key is missing, ox_lib may fall back or expose the unresolved key depending on the call path. Keeping locale files structurally aligned prevents mixed-language crafting flows.