Skip to content

FiveM: Locales Files (Language Variables)

Learn how to customize and add languages to your resource for a personalized experience

12 November 20261 min read45 Views0 helpful

Don't have your own server yet? Host your FiveM server with ZAP-Hosting from €5.29 / month.Or try 3 days from €0.95

Introduction

Do you want to change the language variables of a resource or add additional languages that might not exist yet? The Locales files allow you to customize the language variables of your desired resource.

Finding Locales Files

Locales files must be edited using an FTP client. If you are new to FTP, we recommend reading our FTP Access guide first. Once connected, navigate to the ESX resource directory of the resource you want to edit. Open the locales directory there.

In the locales directory, you will find all language files available for this resource. From here, you can either edit an existing file or copy one and rename it for a new language that you can then edit.

Editing a Locales File

Now you can adjust the content of each language variable in the opened locale file. The content of the language variables is located after the equals sign inside the quotation marks. Modify the content to your liking and save the changes at the end.

Setting the Language (Locale)

You can set the language used via the configuration file config.lua in the resource directory. Adjust the value of Config.Locale = GetConvar('esx:locale', 'en') accordingly.

Conclusion

Congratulations! If you followed all the steps, you have successfully edited the locale file of your resource. For further questions or assistance, our support team is available daily – don’t hesitate to contact us! 🙂

Free tools

FiveM Tools

View all

FAQ

Frequently asked questions

Connect to your server via FTP, navigate to the resource directory, and open the locales folder. There you will find the language files you can edit or copy as a base for a new language.
Copy an existing locale file in the locales directory, rename it to match the new language, and adjust the language variable contents after the equals sign.
In the config.lua file in the resource directory, adjust the value of Config.Locale = GetConvar('esx:locale', 'en') accordingly.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.