Make Entity Extra Fields translatable

Created on 6 August 2025, 7 days ago

Problem/Motivation

Entity Extra Fields currently don't seem to be translatable. But at least for texts (e.g. type Token) it would be super handy to be able to translate them.

Current workaround might be to create an extra field per language and filter the display condition per current language, but that's not super handy.

Steps to reproduce

Use

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @Anybody
  • 🇩🇪Germany Anybody Porta Westfalica

    Most of the other types beside "Token" don't seem to be that important to be translatable, but it also wouldn't do any harm, I think.

  • 🇩🇪Germany Anybody Porta Westfalica

    Maybe using translatable schema types is a good first step to give it a try. Additionaly we'll then have to add the *.config_translation.yml for the UI?
    https://github.com/erpushpinderrana/config_translations_example/blob/mai...

    @Grevil could you give it a try? I'll show you an example where it affects us.

  • 🇩🇪Germany Anybody Porta Westfalica
  • First commit to issue fork.
  • 🇩🇪Germany lrwebks Porta Westfalica

    @anybody, I think that I might be misunderstanding what you want from this issue. Do you want the extra fields to be translatable within their config (on the “Manage extra fields”) page, or within a content entity form (when editing a content entity with extra fields)? As far as the second one goes, I don't think that there is a universal option for doing this with every entity, because this requires the entity to be translatable as well. Also, I'm a bit confused since you appear to want the second solution, but your talk about a config_translation.yml seems to lean toward the first solution.

    TL;DR: Could you clarify what you want to be translatable specifically?

Production build 0.71.5 2024