In my webform, I have enabled i18n_string translation, using a single webform across the translation set. Component strings have been exposed for translation.

Initial setup and translation works perfectly.

When I change the label, I expect the translated labels to 'reset' to the new value of the source, but only the source string changes, translations remain unchanged.

I looked into this and when changing the label of a webform component, the 'source' string gets updated in the 'locales_source' table, but the lid remains the same, so the translation shows the same value as before.

The result of this is that the translated string can no longer be found by looking up the source string. It is still possible to change the translation by searching the 'translation' string.

Solution will probably be to check if the label has changed and updating locales_target.

Comments

Napche created an issue. See original summary.

nil.ned’s picture

Confirm,
same problem !

Recent comment on : https://www.drupal.org/node/1793152

joseph.olstad’s picture

Status: Active » Closed (duplicate)
Parent issue: » #1793152: Field labels not translated

There is some documentation on this to help.

Please see duplicate issue #1793152: Field labels not translated

joseph.olstad’s picture