Problem: Untranslated string used as source

Created on 9 March 2024, 8 months ago
Updated 23 September 2024, about 2 months ago

Problem/Motivation

We use the exported po file in an external translation tool that needs to be able to distinguish the untranslated string from the translated ones.
In order to do so the untranslated strings need to be empty, but the overridden `\Drupal\locale\LocaleConfigManager::processTranslatableData()` sets the value of the translation to the untranslated one in case there is no translation:
https://git.drupalcode.org/project/config_translation_po/-/commit/f9f952...

Proposed resolution

I see no reason that the untranslated value is used if it is not translated. I think we should let the value stay empty if it is untranslated.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark miksan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024