Translations
How to use custom translations
Structure
In order to change translations, you have to adjust the following files:
Name | Area |
---|---|
settings.lua | Adjust the GetFollowText , GetCheerText , and GetSubText functions to modify the notification messages |
locales/ | Adjusts console prints and some user actions like banner results |
nui/public/locales/ | Adjusts all messages and UI components in the NUI |
Please make sure not to remove any variables in the translations. Otherwise, errors can occur.
Custom Languages
When adding a new language, you have to create the language files in the locales/
and nui/public/locales/
folders.
Make sure they exist before making changes. Otherwise, English will be used as the fallback.
To change the language, go to your Remote of the server and set it there. It will be updated in real time, so you don’t have to restart the script.