The server owner can specify a different localization file by setting the Locale value in config.lua.
Locale
config.lua
For example:
Locale = 'tr',
This configuration instructs the script to load locales/tr.json instead of the default locales/en.json.
locales/tr.json
locales/en.json
To support a new language, the server owner must:
Create a new JSON file in the script locales folder, following the locales/en.json format.
locales
Ensure the correct Locale value is set in config.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.
fr
locales/fr.json
Previous0R - Trucker V2chevron-left NextInstallationchevron-right