Webforms handling

Created on 20 August 2025, 12 days ago

Problem/Motivation

Webforms are a mess when it comes to translation. They are huge serialized YAMLs and is quite impossible to handle them as a string. We need a special treatment for webforms.

Other modules are also treating webforms as an exception, see tmgmt_config_config_schema_info_alter().

Steps to reproduce

Use the Babel translation form and try to translate a webform

Proposed resolution

  • Add a hardcoded exception for webform when importing configuration source strings (no mercy!)
  • Create a new submodule babel_webform which provides a webform plugin. The plugin knows to extract from webforms the source strings as separate Babel sources. On translation, knows on how to assemble back the big YAML to be stored in the config language collection.

Remaining tasks

None.

User interface changes

None.

API changes

New webform plugin.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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

Comments & Activities

Production build 0.71.5 2024