-
-
Notifications
You must be signed in to change notification settings - Fork 62
Use translation override system
QuickShop uses the Translation Override system to process the translations.
Translation Override system allows QuickShop to use translations in both cloud service and local customization files.
Before using the override system, You must get the original translation file from the Github(because the local override file is an empty file).
Search your locale and click in, then download the translation.
Go to your locale OTA override folder:
MINECRAFT_SERVER_ROOT/plugins/QuickShop-Hikari/override/LOCALE_CODE/messages.yml
You should find a blank YAML format file, open it.
Copy the key and values from the original translation to override the file, then you can edit it what you want.
Picture is outdated, we're now using YAML syntax.
This picture shows the simplest case. If the string inside a section, you need also add structure. Feel free ask the developer.
It also supports overriding the text in the section.
Translation support MiniMessage
Save and execute command /qs reload
to make it works.
The override file won't automatically update, you must do it by yourself once our translation have new update.
Type /qs debug
in-game to turn on the debug mode, re-join the server or change the client language, the server console should print the locale code that you using.
QuickShop-Hikari wiki now moved to here:
https://ghost-chu.github.io/QuickShop-Hikari-Documents/