mojira.dev
MCPE-238783

Percent sign (%) is evaluated as a language key lookup in some contexts

The bug

In various places where text is rendered, user-supplied strings containing a % are rendered replaced with their language file translation.

How to reproduce

  1. Get an item and an anvil

  2. Rename the item to %store.csb.terms

  3. Hold the item in your hand

  4. Look at the text that appears

Expected result

The literal text %store.csb.terms should appear

Observed result

This monstrosity appears

image-20260508-230740.png

Affected places

  • Command feedback

    • How to reproduce: /kill %store.csb.terms

  • Held item hotbar tooltip

    • How to reproduce: rename an item %store.csb.terms

  • Scoreboard sidebar

    • How to reproduce: /scoreboard objectives add test “%store.csb.terms”

  • NPC Dialogue (title and buttons, but not description)

    • How to reproduce: name an NPC %store.csb.terms

  • @minecraft/server-ui dialogs

    • How to reproduce: make a pack that does it with javascript

Unaffected places

  • /title title/subtitle/actionbar

  • Inventory item tooltip

  • Written book text

  • Sign text

  • Name tags

  • Container interface titles

This is related to, but distinct from, MCPE-186408, since the % sign triggers the bug in this case.

Linked issues

Attachments

Comments 1

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

tryashtar

(Unassigned)

1617176

Confirmed

Windows

26.20

Retrieved