How do I change Locales?!

Most people will probably know this, but if you don't, here's how you can switch the language in the script(s). In the locales folder, you'll find separate files for each supported language, such as en.json for English, de.json for German, fr.json for French, and so on.

To switch to a different language, follow these steps:

  1. Check if the desired language file exists in the locales folder of the script in question.

  2. Head to the config.lua and change Lang:loadLocale to the desired language.

For example, if you want to switch to German, make sure that the de.json file exists in the locales folder, and then update the config like this: (example)

SD.Locale.LoadLocale('en') -- Load the locale language, if available. You can change 'en' to any other available language in the locales folder.

To this:

SD.Locale.LoadLocale('de') -- Load the locale language, if available. You can change 'en' to any other available language in the locales folder.

Last updated