Skip to content

Translation keys are displayed instead of localized text in Keybind menu #3

@lyuwenhan

Description

@lyuwenhan

Problem

In the keybind settings menu, the mod displays raw translation keys instead of human-readable text.

Example:

Image
key.category.beacon_bounding_boxes.keybinds
key.beacon_bounding_boxes.toggle_beacon
key.beacon_bounding_boxes.toggle_conduit

Instead of something like:

Beacon Bounding Boxes
Toggle Beacon
Toggle Conduit

Environment

  • Minecraft: 1.21.11
  • Fabric Loader: 0.18.4

Expected behavior

The keybind menu should display localized text defined in the mod language file (e.g. en_us.json).

Example:

{
  "key.category.beacon_bounding_boxes.keybinds": "Beacon Bounding Boxes",
  "key.beacon_bounding_boxes.toggle_beacon": "Toggle Beacon",
  "key.beacon_bounding_boxes.toggle_conduit": "Toggle Conduit"
}

Actual behavior

Minecraft shows the raw translation keys instead of the translated strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions