Hi,
I'm using module Webform Localization to translate form components. They are all translated except components that use Sliderfield.
I debugged a bit the problem and noticed that Sliderfield module uses custom array property value_field to hold all necessary data regarding the field. All hook hook_webform_component_render_alter() implementations use default element structure and do not know about extra properties (such as value_field). In this case module Webform Localization translates default title property in the $element variable.
Another information that you may find useful: I noticed that in hook hook_webform_component_render_alter() implementation Sliderfield module uses $component variable with default (untranslated) title (you can find this usage in the file sliderfield.module at line 305 and then in sliderfield_element_sliderfield.inc at line 807) when Webform localization module translates $element variable.
So even if we will adjust modules weight in the database in system table it will not help due to notice described above.
Thanks in advance
Comments
Comment #1
sinasalek commentedFixing of this issue is sponsored by @culfin
You can expect a fix soon
Comment #2
sinasalek commentedBoth title and description are not translatable
The issue has been fixed, no need to touch module weights, that has also been taken care of within sliderfield module. Note that sliderfield component special string are already translatable using drupal built-in translation system.
You can try it using the upcoming dev snapshot.
Tx for the tips, very useful :)
Comment #5
sinasalek commented