-
Notifications
You must be signed in to change notification settings - Fork 0
Localization
QuickDeposit ships with translations for five languages and picks the right one per player, automatically, with no setup needed.
| Priority | Language | Locale |
|---|---|---|
| 1 | English | en_US |
| 2 | German | de_DE |
| 3 | Portuguese (Brazil) | pt_BR |
| 4 | Spanish | es_ES |
| 5 | French | fr_FR |
Every message QuickDeposit sends is looked up based on the language each player has set in their own Minecraft client (the same setting used for the game's own menus and item names) - not a server-wide setting. Two players on the same server, running the same command at the same time, can each see the response in their own language.
- A client set to German (
de,de_AT,de_CH, ...) gets the German translation. - A client set to Portuguese (
pt,pt_PT, ...) gets the Brazilian Portuguese translation - it's the only Portuguese variant currently included. - Any client language QuickDeposit doesn't have a translation for falls back to English.
- The console (running a command like
/qd reloadfrom the server terminal) always sees English, since there's no client language to read.
Each language is a separate file: plugins/QuickDeposit/lang/en_US.yml, de_DE.yml, pt_BR.yml, es_ES.yml, fr_FR.yml. They're created automatically the first time the plugin starts.
You can edit any of them freely - fix a phrase you don't like, adjust tone, whatever you want. Run /qd reload afterward to apply your changes without restarting the server. If a future QuickDeposit update adds a new message and your edited file doesn't have it yet, QuickDeposit falls back to the bundled default for just that one line rather than showing a blank message or an error.
Translated: every sentence QuickDeposit sends a player or an admin - command feedback, error messages, /qd info, container and world list output, and so on.
Not translated, on purpose, the same way none of Minecraft's own command arguments are:
- Command names and syntax (
/deposit,/qd radius global <radius>, etc.) - always typed and shown exactly as documented in this wiki, in every language. - Raw config/command values like container type names (
Chest,Barrel, ...), the matching mode (EXACT/TYPE), and the world-list mode (BLACKLIST/WHITELIST). - "Blacklist"/"whitelist" as used inside a sentence (e.g. "world added to the blacklist") are also kept as-is in every language, matching how most non-English Minecraft server communities already use these specific words.
Each lang/*.yml file uses {placeholder} tokens for the parts of a message that change at runtime (a player's name, a number, etc.) - for example:
qd:
radius:
player-set: "Radius of {player} set to {radius}."Keep the {tokens} themselves exactly as they are, but feel free to move them anywhere in the sentence that reads naturally in your language - QuickDeposit doesn't assume a fixed word order. For example, the bundled German translation of the line above reorders it to "Radius von {player} auf {radius} gesetzt.", matching natural German sentence structure.
If you notice a translation that's wrong or awkward, editing the relevant lang/*.yml file directly and running /qd reload is the fastest way to fix it for your server; consider also reporting it so the fix can help everyone else.