sdlink icon indicating copy to clipboard operation
sdlink copied to clipboard

[Feature]: Send localized data to chat?

Open Archer-Dante opened this issue 8 months ago • 2 comments

🚀 Description

I don't really know if it's should be sdlink-related, but... When player get new advancement it's being sent to discord chat always in english. Is it possible for mod to use localized names of advancements and descriptions?

💡 Use Case

No response

Archer-Dante avatar Apr 17 '25 02:04 Archer-Dante

Duplicate issue of reports from our Discord, and something we've already been working on in latest snapshot builds.

Minecraft was not coded smartly with localization, for whatever reason Mojang was convinced that client side only language packing was enough. We are working on workarounds already but your best bet is to override the english datapack of the advancements yourself.

Kaleidio avatar Apr 17 '25 07:04 Kaleidio

Yeah, pretty much what Kal said.

For most part, the server is in english only. The client itself takes care of translating the text into the user language.

The only two proper ways for us to support this is to

  1. Download the MC client jar, and use the lang files from that (grey area legally)
  2. Make the mod both client and server side, and have a network request going between the two to get the correct language (do-able, but would then require the mod to be client side too, which is far from ideal)

hypherionmc avatar Apr 17 '25 15:04 hypherionmc