Skip to content

TextEdit placeholder text not automatically translated #83942

Closed
@dominiks

Description

@dominiks

Godot version

v4.2.beta.custom_build.06d518916 (latest master)

System information

Tumbleweed 20231023 - X11 - GLES3 (Compatibility)

Issue description

The value of TextEdit.placeholder_text is not automatically resolved as a translation key. This behavior is unexpected as the LineEdit does translate the placeholder.

The attached screenshot shows a LineEdit and a TextEdit, each with msg_placeholder as their placeholder_text. The LineEdit translates it, the TextEdit does not.

grafik

Steps to reproduce

  1. Add a translation file to the project
  2. Set the placeholder_text property of a TextEdit in the inspector to a valid translation key
  3. Run the scene -> the TextEdit shows the translation key instead of the translation

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions