Skip to content

Translations from items are converted to just plain text #405

@serbinskis

Description

@serbinskis

Describe the bug
Some datapacks use translations to display text to the client in multiple languages, but Eco strips that off and converts it into plain text, making it impossible for the client to translate the text using the translation file.

To Reproduce
Steps to reproduce the behavior:

  1. Install a datapack that uses translation keys for text (e.g., Stellarity).
  2. Run /function stellarity:_cmd/give/weapons
  3. Observe that the text is displayed in plain text rather than using the intended localized translation.

Expected behavior
The text should preserve the translate keys so the client can resolve them using the appropriate translation file. This would allow the game to display text in the user's selected language, maintaining full multilingual support as intended by the datapack authors.

Screenshots
Image
Image

Server Information (please complete the following information):

  • Version: 1.21.7-28-main@94d60e1
  • Version of plugin and eco: 6.76.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions