Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you translate your webform-NODE with the core content translation,
but the webform components with webform_localization module by translating the strings with i18n.
The translated webform will not load, because the function looks only in the translated Node for the webform components, and them are not present, so you get the Message "No webform found".
so the attached patch should solve the problem.
thx, dropfen
Comment | File | Size | Author |
---|---|---|---|
#1 | modal_forms-translated_webforms-1935242-1.patch | 1.11 KB | dropfen |
Comments
Comment #1
dropfen CreditAttribution: dropfen commentedHere's the patch
Comment #2
dropfen CreditAttribution: dropfen commentedComment #3
frjo CreditAttribution: frjo commentedCan someone confirm that this works so I can commit it?
Comment #4
dropfen CreditAttribution: dropfen commented@frjo,
the patch works fine ;)
Comment #5
frjo CreditAttribution: frjo commentedI take your word for it then :-). Committed to 7-dev, thanks for the contribution!
Comment #6
dropfen CreditAttribution: dropfen commentedI have to thank :)