I'm trying to translate the user interface used to create a webform.
I'm manually editing po-file and it seems to work except in one particular point:
I have translated all the component types but still when I create a new component it's type shows untranslated in the list of components.

To demonstrate this:

Name Type Value Mandatory Weight
select*
grid* etc.

I used * above to indicate what texts are not translated. So I'm guessing that maybe t()-function is missing from some point. I looked webform_form -hook but I can't figure out how to fix the problem.

CommentFileSizeAuthor
#2 add-new-comp.jpg52.7 KBwpanssi

Comments

wpanssi’s picture

Of course extra spaces were dropped out in my previous post. So select* and grid* were intented to show below Type-header..

wpanssi’s picture

StatusFileSize
new52.7 KB

Also, the same problem occurs when I add a new component. I marked in the picture what string won't get translated when I change the language (all the other strings will).

wpanssi’s picture

Has someone done a succesfull translation including also the strings I have mentioned above?
I'm really strugling with this so any help would be appreciated!

quicksketch’s picture

Status: Active » Fixed

I've wrapped the mentioned string in t() in both the 1.x and 2.x versions of the module. Although I try to avoid completely dynamic string translations, I'm already wrapping component names in t() everywhere else in the module and this was the exception.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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