Localization
On this page3
All player-facing strings live in open locale files.
Config.Locale
lua
Config.Locale = 'en'The script loads locales/<code>.lua based on this value.
Adding a language
Create a new file under locales/ and define your Locales table:
lua
Locales['fr'] = {
deploy_success = 'Vous avez pris un kit pour %s',
return_success = 'Kit retourné. Remboursement : %s$',
-- ...
}Then set:
lua
Config.Locale = 'fr'Rules
- Keep all
%splaceholders in the same order as the English original. - Missing keys fall back to English automatically.
- Localization applies to notifications and server messages.