locales/<code>.json. The language comes from locale in config/core.lua. Missing keys fall back to English. Without this module, ug-core uses its English messages.
Locale holds core messages only, such as connection, kick and ban texts. Your resources keep their own translations, and can use
GetCode to pick the same language.Get
GetCode
'en'.
Adding a language
Copylocales/en.json to locales/<code>.json, translate the values, and set locale = '<code>' in config/core.lua.