Locales
Change locale
CONFIG.Locale = 'en'Create your own locale
Locales['your_locale_here'] = {
-- Write all your text here in your desired locale.
}Last updated
To change the locales of this resource, follow these simple steps:
Go to configs/sh_config.lua.
Find the line:
CONFIG.Locale = 'en'Replace 'en' with one of the locales listed in the locales directory.
If you want to create your own locales, follow these steps:
Duplicate one of the existing locale files.
Rename the duplicated file to your desired locale, e.g., your_locale_here.lua.
Open the duplicated file and modify its contents to match your desired locale.
Example:
Locales['your_locale_here'] = {
-- Write all your text here in your desired locale.
}That's it! By following these steps, you can easily change or create your own locales for the resource.
Last updated