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

Formatting issue in right-to-left languages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.9.2, Minecraft 16w15a, Minecraft 1.11.2, Minecraft 1.13, Minecraft 1.13.1
    • Confirmed
    • (Unassigned)

      There is formatting error with the text box in the game:
      Texts involving HebrewString1 %s(English string) HebrewString2 will appear as in reversed order, if the variable is a number, it will display correctly (so that's crucial upon Crowdin translators to choose the correct arrangement of text to fix this issue).
      I'm assuming it will show on all the right-to-left languages translations, the most crucial appearance would probably be in the commands output of /help, which will mess the translation to a point that it'll be hard understanding the syntax (the former noted ones would probably still be easy to understand)

      Expected behavior:
      hebrewstring1 %s hebrewstring2 would appear as shown

      Actual behavior:
      HebrewString2 %s HebrewString1 appears instead, as example in English:

      press the %space% key to jump

      will show as

      key to jump %space% press the

      Note again, this is showing that way only when Hebrew and English strings are mixed in the text box, the user command line may appear correct, but when prompting with the enter key, the behavior is as described above.

        1. screenshot-1.png
          screenshot-1.png
          11 kB
        2. image-2020-07-23-20-54-37-586.png
          image-2020-07-23-20-54-37-586.png
          48 kB
        3. image-2020-07-23-20-46-48-491.png
          image-2020-07-23-20-46-48-491.png
          12 kB
        4. image-2020-07-23-20-40-12-635.png
          image-2020-07-23-20-40-12-635.png
          145 kB
        5. image-2020-07-23-20-38-08-689.png
          image-2020-07-23-20-38-08-689.png
          21 kB
        6. slash_displays_additional_unwanted_7§.png
          slash_displays_additional_unwanted_7§.png
          2.75 MB
        7. Itemdisplay_malformed_description_durability_nbt_fields.png
          Itemdisplay_malformed_description_durability_nbt_fields.png
          1.28 MB
        8. subtitles_malformed.png
          subtitles_malformed.png
          2.30 MB
        9. malformed_text._also_wrong_order._translation_below.png
          malformed_text._also_wrong_order._translation_below.png
          3.12 MB
        10. Reading_order_flipped_RTL_turns_LTR.png
          Reading_order_flipped_RTL_turns_LTR.png
          638 kB
        11. Version_numbers_malformed.png
          Version_numbers_malformed.png
          604 kB
        12. Capture.PNG
          Capture.PNG
          43 kB
        13. 2016-12-27_23.27.01.png
          2016-12-27_23.27.01.png
          269 kB
        14. Capture.PNG
          Capture.PNG
          88 kB
        15. Capture.PNG
          Capture.PNG
          6 kB

            Unassigned Unassigned
            asorron Ron Asor
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: