Create own locale
ℹ️ This guide explains how to create and register a new language file (Locale) for our scripts.
Please use official language codes as the prefix (e.g., de
for German, fr
for French).
info
Feel free to share your translation with the community!
🛠️ Step-by-step instructions
1. Create new locale file
Go to the /settings/locales
subfolder and copy an existing locale file.
Rename it to your language code, e.g. de.lua
for German, fr.lua
for French.
2. Modify the locale content
Change the locale identifier to your language code:
3. Start the translation
Now translate all entries into the language you have selected.
⚠️ Do not rename the keys, only the value!
4. Use the locale
To use the newly created and registered locale, set DreamCore.Language
to your locale identifier in the DreamCore config.