Changelog 1.1.2
Features:
- Localization: Added a server-wide language setting (Admin Panel > Settings > Language). English and Simplified Chinese (简体中文) are included. Changing it updates every player's Sticker Device, the admin panel, the placement HUD and all in-game notifications/errors instantly, with no restart or reconnect.
- Custom Languages: Add a language by copying
locales/en.jsontolocales/<code>.json, translating it, and adding the code toConfig.Localesinconfig.lua. Missing keys fall back to English. See the README ("Languages") for details.
Fixes & Improvements:
- Stock rarity names (Common, Uncommon, etc.) follow the active language. Tiers you renamed yourself are left untouched.
- Settings now shows an error if saving fails instead of always reporting success.
- Added CJK font fallbacks so Chinese text renders correctly in the NUI.
Upgrade notes:
- No database changes. The default language is English, so existing servers look the same until an admin changes it.
- If you keep your own
config.lua, nothing needs to change, but addConfig.Locales = { 'en', 'zh' }if you want to see the full language list explicitly. - The new
locales/andshared/folders must be copied along with the rest of the resource.
Credits to ching8515 for reaching out and requesting the feature.