Use translation override system - Ghost-chu/QuickShop-Reremake GitHub Wiki

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.

Get the original file from Crowdin

Before using the override system, You must get the original translation file from the Crowdin (because the local override file is an empty file).

Open Crowdin Project

Search your locale and click in, then download the translation.

Download the translation from Crowdin

Override the OTA translation

Go to your locale OTA override folder:

MINECRAFT_SERVER_ROOT/plugins/QuickShop/override/LOCALE_CODE/messages.json

You should find a blank JSON 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.

Demo

It also supports overriding the text in the section.

Translation support MineDown Syntax

Make it work

Save and execute command /qs reload to make it works.

Updating

The override file won't automatically update, you must do it by yourself once our translation have new update.

DEBUG: How I can know which locale code that Minecraft using?

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.