Editing localization files
Setting the Localization Language
The server owner can specify a different localization file by setting the
Localevalue inconfig.lua.
For example:
Locale = 'tr',This configuration instructs script to load locales/tr.json instead of the default locales/en.json.
Adding a New Localization File
To support a new language, the server owner must:
Create a new JSON file in the script
localesfolder, following thelocales/en.jsonformat.Ensure the correct
Localevalue is set inconfig.lua.Populate the new JSON file with localized strings matching the existing structure.
Example: If the server's Locale is set to fr, then a corresponding locales/fr.json file should be created.
Last updated