When translating views Config translation renders Global field twig output instead of source

Created on 4 August 2016, over 8 years ago
Updated 15 February 2024, 9 months ago

Problem/Motivation

When translating views Config translation renders Global field twig output instead of source.

E.g: if I have a Global text field with value:

<div><em>Text in bold</em>

Adding a translation will render it instead of showing it.

This makes really difficult to translate if you want to keep the same markup, having to open the field in the edit view page in a different tab.

Proposed resolution

Escaping the source before display?

Remaining tasks

Discuss.

User interface changes

Instead of rendering the markup/twig, show it instead. This makes translation easier.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
Config translationΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024