# 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:

1. Each resource has a `locales` folder
2. Inside this folder, you can create JSON files for different languages (e.g. `en.json`, `pl.json`, `es.json`)
3. The system automatically loads the appropriate language based on the server configuration
4. 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](https://overextended.dev/ox_lib/Modules/Locale/Shared)
