NEXO Scripts · Documentation

Everything to install, configure and get the most out of every NEXO resource.

Languages (locales)

Every resource ships with English and Spanish and a common translation system.

Change the language

In the resource's config.lua (or config/config.lua):

Config.Locale = 'es'   -- 'en' | 'es'

In loadscreen the language is chosen by convar: set loadscreen_locale "en".

Add a new language

  • Open the resource's locales/ folder.
  • Copy en.json with the new code (e.g. fr.json).
  • Translate the values (not the keys).
  • Set Config.Locale = 'fr'.

Missing keys in your language automatically fall back to English, so you'll never see broken text.

How it works

  • UI (NUI) text travels to the panel when it opens.
  • In-game notifications and prompts are translated on the client.
  • Catalog data (vehicle names, ped models, services...) lives in the config and is edited there directly.