Translation
Last updated
Was this helpful?
Last updated
Was this helpful?
If you want to translate/change names of the categories, stat types, or achievements, you are at the right place.
All categories, stat types and achievements have their own translation in the database to allow creation of data using our .
If you want to change translation of category, stat type or achievement name, you can do so in the locales/*.lua
files.
We will be using English as the example in this tutorial.
Go to locales/en.lua
file.
Find achievements
table.
Find the achievement you want to change.
Change the name
or description
field to your liking.
This will override the name and description from database allowing you to change it to your liking.
Go to locales/en.lua
file.
Find stat_types
table.
Find the stat type you want to change.
Change the name
field to your liking.
This will override the name from database allowing you to change it to your liking.
Go to locales/en.lua
file.
Find categories
table.
Find the category you want to change.
Change the name
field to your liking.
This will override the name from database allowing you to change it to your liking.
Go to locales/en.lua
file.
Add a new entry to the table you want to add translation to. (categories, stat_types, or achievements)
As for categories and stat types, you can just add a simple key-value translation like this:
Achievements are a bit more complex as they have a name and description.