KyoriPowered / adventure

A user-interface library, formerly known as text, for Minecraft: Java Edition
https://docs.advntr.dev/
MIT License
679 stars 105 forks source link

How to Specify the player's translation #907

Closed xLikeWATCHDOG closed 1 year ago

xLikeWATCHDOG commented 1 year ago

How do I specify the player's language when I send a message to them? Specify and then send the specified translation. I have found that some players will exist who do not set their client language to their native language. And most will use English, but in that case, when we use Audiences to send Component messages to them, they will send messages translated into their client language. This is not good. So, I would like to know, how to specify the translation for Audiences?