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

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

              Created:
              Updated:
              CHK: