Skip to content

Use translation override system

Ghost_chu edited this page Jan 14, 2022 · 4 revisions

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 Github

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

Click Here

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

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

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 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.

Clone this wiki locally