Languages
We utilize the translation system from the ox_lib library. Each resource contains a locales
folder where you can add your own language translation files.
The locales system allows for easy management of multiple languages in your resources. Here's how it works:
Each resource has a
locales
folderInside this folder, you can create JSON files for different languages (e.g.
en.json
,pl.json
,es.json
)The system automatically loads the appropriate language based on the server configuration
You can easily add new languages by creating new JSON files following the same structure
For more detailed information about the ox_lib locales system, check out the official documentation: ox_lib Locales Documentation
Last updated