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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-new-comp.jpg | 52.7 KB | wpanssi |
Comments
Comment #1
wpanssi commentedOf course extra spaces were dropped out in my previous post. So select* and grid* were intented to show below Type-header..
Comment #2
wpanssi commentedAlso, 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).
Comment #3
wpanssi commentedHas 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!
Comment #4
quicksketchI'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.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.