EssentialsX

EssentialsX

2M Downloads

Some messages ignored with per-player-locale active

Fastbuilder575 opened this issue · 3 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?bytebin=XeaCiWTXWw

Error log (if applicable)

No response

Bug description

Essentials seems to ignore some of the messages defined in the custom language messages_XXXX.properties files and instead be using the default for some parts of the message.

Steps to reproduce

One example with the /fly command:

messages_de.properties file:
enabled=aktiviert
disabled=deaktiviert
flyMode=Du hast den Flugmodus bei {1} {0}.

Test 1:
Minecraft client language: English (US)
I execute the command /fly
Response from the server is: "Set fly mode enabled for [DEV] Fastbuilder575."

Test 2:
Minecraft client language: Deutsch (Deutschland)
I execute the command /fly
Response from the server is: "Set fly mode aktiviert for [DEV] Fastbuilder575."

Expected behaviour

Response from server should be "Du hast den Flugmodus bei [DEV] Fastbuilder575 aktiviert."

Actual behaviour

Response from server is "Set fly mode aktiviert for [DEV] Fastbuilder575." where some part of the file is used, in this case the translation for enabled, but the translation for flyMode is ignored.

Additional Information

No response

commented

do you have the custom locale file in plugins/Essentials/messages/messages_de.properties?

commented

Yes, content of the messages_de.properties file is currently the following:

enabled=aktiviert
disabled=deaktiviert
flyCommandDescription=Abheben, in die Höhe\!
flyCommandUsage=/<command> [spieler] [on|off]
flyCommandUsage1=/<command> [spieler]
flyCommandUsage1Description=Schaltet das Fliegen für sich selbst oder einen anderen Spieler ein, falls angegeben
flying=fliegt
flyMode=<primary>Du hast den Flugmodus bei <secondary>{1} {0}<primary>.
commented

Updated to the release Version 2.21.0, reported problem still exists.

New dump: https://essentialsx.net/dump.html?bytebin=wUeBPGwZQU