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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dropfen’s picture

Here's the patch

dropfen’s picture

Status: Active » Needs review
frjo’s picture

Can someone confirm that this works so I can commit it?

dropfen’s picture

@frjo,
the patch works fine ;)

frjo’s picture

Status: Needs review » Fixed

I take your word for it then :-). Committed to 7-dev, thanks for the contribution!

dropfen’s picture

I have to thank :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.