languageEditing localization files

Video Tutorial

Detailed Explanation

1

Create a new JSON File

Create a new JSON file in the script locales folder, following the locales/en.json format.

2

Set the Locale setting value (if you don't want to use ox_lib)

Ensure the correct Config.Locale value is set in config.lua.

3

Add the convar to your server.cfg (if you want the use ox_lib)

To change the preferred language from English, add the convar to your server.cfg and change en to the desired language code.

circle-exclamation

Last updated