Hi,

I noticed that the hints of the webform(s) aren't translatable.

I've stumbled on this issue for some times now, but I've found a way to resolve it.
I've added the patch, so see for yourself. ;-)

Thanks

CommentFileSizeAuthor
translatable_webform_hints.diff1.7 KBblacksnipe

Comments

blacksnipe’s picture

Status: Active » Needs review

Forgot to change the status when adding the patch... Oops ;-)

chrisfree’s picture

Assigned: Unassigned » chrisfree

Blacksnipe,

My first thought would be that Webform must allow for field label translations. I'll dig in to the code when time permits to see how Webform is handling this. If Webform provides this functionality, I'd vote to not add in here within Webform HInts. Otherwise, I'll roll this in to the DEV branch.

Thanks,
Chris

guschilds’s picture

Blacksnipe,

I think I'd agree with chrisfree here. I looked into Webform issues relation to translation.

If you determine how to translate the Webform component's label (via Webform or elsewhere), the hint will be translated as well.

Here's some of what I found:

The first one listed leads me to believe that the patch shouldn't be committed to this module.

It looks like Webform Localization came from the last thread. There also seem to be alter hooks that may be helpful. If you find a solution, please share for others that may end up here.

Hope that helps!

guschilds’s picture

Status: Needs review » Closed (works as designed)
blacksnipe’s picture

Yeah, I noticed that the Webform-module doesn't do this, but I've tried it with Webform Localization and it didn't solve anything...

That's why I added the patch...
Problem is that it had to be a quick solution (for now) :-)

guschilds’s picture

Bummer to hear that Webform Localization didn't pull through. Whatever works for you!