string
Defaults to the calling resource.
string
default:"en"
Language used when a key is missing.
- The language is
settings.localeof ug-lib (convarug-lib:Locale),enuntil config arrives. - Texts come from
locales/<code>.json. Keys are flat ("shop.title") or nested objects. - Placeholders are
{name}. A missing key falls back to thefallbacklanguage, then to the key itself, with one Debug log per key. - Locale files MUST be in your
files {}to be read on clients.
Example
locales/en.json
fxmanifest.lua