Skip to content

Some messages ignored with per-player-locale active #6029

Open
@Fastbuilder575

Description

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

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions