Orbit StudiosOrbit Studios
Orbit Studios Resourcesorbit-craftingsystem

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

LanguageLocaleFile
Englishenlocales/en.json
Germandelocales/de.json
Spanisheslocales/es.json
Frenchfrlocales/fr.json
Italianitlocales/it.json
Swedishsvlocales/sv.json
Turkishtrlocales/tr.json

Select A Locale

Set the replicated ox_lib locale before starting the resource.

server.cfg
setr ox:locale en

ensure ox_lib
ensure orbit-lib
ensure orbit-craftingsystem

For 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.

resources/[orbit]/orbit-craftingsystem/locales/en.json
{
  "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

  1. Copy locales/en.json to a new file such as locales/pt.json.
  2. Translate values only; preserve every key and nested object.
  3. Keep interpolation placeholders such as %s, {name}, or {value} unchanged when present.
  4. Validate the file as JSON.
  5. Set setr ox:locale pt and restart Orbit Crafting System.
  6. 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.

On this page