-
Bug
-
Resolution: Won't Fix
-
None
-
1.20.2
-
None
-
Community Consensus
-
Commands, Internationalisation
In reference to the existing issue MC-212304 and MC-162441, it has been observed that translated messages in the chat do not update after a client language switch. However, there is inconsistency in the handling of messages containing hover events. When a translated message is used in conjunction with a hover event, the text in the hover event is updated after a language switch. This results in an inconsistent state where the message in the chat and the text in the hover event do not match.
Expected Behavior: The expected behavior should be either that translated messages in hover events have the same language as the translated message, or that translated messages in the chat update after a language switch. Currently, there is an inconsistent state that needs to be addressed to ensure a uniform and correct display.
Example Command: /tellraw @p {"translate":"advancements.adventure.kill_a_mob.title","hoverEvent":{"action":"show_text","contents":[
{"translate":"advancements.adventure.kill_a_mob.title"}]}}
Steps to Reproduce:
- Execute the command.
- Change the client language to German.
- Hover over the message in the chat.
Behavior:
- After Step 1: The text in the hover event corresponds to the same text as the message in the same language.
- After Step 3: The text in the hover event is in German, while the text in the chat remains in the original language.