Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-162441

"translate" in JSON text on signs does not update as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45a, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 6, 1.16, 1.16.1, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.5, 21w11a, 1.19.3, 23w03a, 1.19.4, 1.21
    • Java 10.0.2 64 Bit
      Arch-Linux 64 Bit
      Xorg with i3 as window manager
    • Confirmed
    • UI
    • Normal
    • Platform

      The issue:

      “translate” components in JSON text format on signs do not get updated if the language is changed. (This worked in older versions Minecraft e.g. 1.10.)

      Reloading the chunks does not help. But save and quitting and reopening the world and moving far away from the sign does.

      (This is especially troublesome for translatable custom maps: the signs' text gets loaded before resources.zip, thus it is impossible to let them display custom translated text properly.)

      The text doesn't have to be updated immediately, but having an option like reloading the chunks or resource packs to trigger the update would be nice.

       

      How to reproduce:

      1. Place a sign on the ground with the following command: (1st screenshot)
      setblock ~ ~ ~ minecraft:oak_sign{Text2:'[{"translate":"block.minecraft.oak_sign"}]'}
      1. Change the language. (2nd screenshot)
        The text on the sign does not change.
      2. “Save and Quit to title” and reopen the world. (3rd screenshot)
        Now the text has been updated.
         

        1. screenshot_01.png
          screenshot_01.png
          225 kB
        2. screenshot_02.png
          screenshot_02.png
          214 kB
        3. screenshot_03.png
          screenshot_03.png
          216 kB

            Unassigned Unassigned
            Polymehr Polymehr
            Votes:
            24 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              CHK: