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

"Out of memory!" message is untranslatable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w11a
    • 1.17.1, 1.18 Pre-release 7, 1.18 Release Candidate 1, 1.18, 1.18.1, 1.18.2 Pre-release 3, 1.18.2
    • None
    • Confirmed
    • Text
    • Important

      The Bug

      While playing Minecraft, if Minecraft runs out of memory, it sometimes pops up some message reminding this. However, it is not translated into other languages. The text is even not available in Crowdin as you can see in the second screenshot.

      The first screenshot was taken in 1.16.2, in which version I set my language as Chinese.

      Expected Result

      "Out of memory!" message should be translated.

      Code analysis

      The "Out of memory!" message is hardcoded in the OutOfMemoryScreen class instead of using translatable text. See this comment for a full analysis.

            slicedlime [Mojang] slicedlime
            ultim_0 Ultimus
            Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: