Language Support (Locale)

orbit-craftingsystem - Configuring the locales.

ox_lib - Locale Convar

To change to a specific language for this resource we will be using ox_lib's locale functions and therefore must set the proper convar into our server.cfg.

setr ox:locale en

This convar can be written in the server terminal but it is safest to have it in the server.cfg. After doing this you can use the locales folder inside the resources root folder to check all the existing language files in the '.json' format. Feel free to change it if you'd like. If you do not find your language you can make a new file with the same format and change the name into the letters corresponding with your language and customize the content to fit your needs.

Last updated