Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fastbuilder575 opened this issue Feb 2, 2025 · 2 comments
Open

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

Fastbuilder575 opened this issue Feb 2, 2025 · 2 comments
Labels
bug: unconfirmed Potential bugs that need replicating to verify.

Comments

@Fastbuilder575
Copy link

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

@Fastbuilder575 Fastbuilder575 added the bug: unconfirmed Potential bugs that need replicating to verify. label Feb 2, 2025
@JRoy
Copy link
Member

JRoy commented Feb 7, 2025

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

@Fastbuilder575
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: unconfirmed Potential bugs that need replicating to verify.
Projects
None yet
Development

No branches or pull requests

2 participants