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

"Out of memory!" message is untranslatable

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 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
    • 22w11a
    • None
    • Confirmed
    • Text
    • Important

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: