Good morning,
Are there plans to improve Webform Localization support in this module?
Current Functionality
Creating a new webform, with a 3 column Matrix Component results in the Label of the Matrix Component being available in the Translation Interface.
Seemingly correctly nested in the "Webform Localization" text group" and properly created with a unique identifier.
Webform Localization Matrix Label webform:60cb4736-b31e-41e1-acb7-05f863305912:20:#title
However:
While Column Names are available in the Built-in Interface, and appear translated when filling in the Form, they:
1) Exist in the Built-In Interface group and are not uniquely identified.
2) Appear correctly translated when completing the form
3) The Translated strings DO NOT appear in the Preview step of the form. (See preview.png)
Built-in interface TEST-Name /fr/service/199
Built-in interface TEST-Date of Birth /fr/service/199
Built-in interface TEST-Health Card Number /fr/service/199
Built-in interface TEST-Select Options /fr/service/199Thanks for your comments.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | webform_matrix_component-webform-localization-support-2877028-11-D7.patch | 16.3 KB | nixou |
| #2 | Preview.PNG | 18.36 KB | fgjohnson@lojoh.ca |
Comments
Comment #2
fgjohnson@lojoh.ca commentedComment #3
chetan-singhal commentedwill add this functionality in next release
Comment #4
fgjohnson@lojoh.ca commentedJumped the Gun...
Looks like my preview issue is resolved with this "webform" patch.https://www.drupal.org/files/issues/webform-markup_translation-2728557-1...
It's odd.
The translated fields exist when the page is evaluated with "developer"... but do not render on the page.
String insertion into "Built-in Interface" instead of "Webform Components" seems to be something that could be addressed.
Thanks man!
Comment #5
chetan-singhal commenteddo you want patch for that?
Comment #6
fgjohnson@lojoh.ca commentedA patch would be awesome!
Be glad to test it for you.
Maybe related...
https://www.drupal.org/node/2728557
Comment #7
fgjohnson@lojoh.ca commentedFor clarification, and so I can communicate to my supervisors...
Are you creating a patch for this?
Thanks
Comment #8
chetan-singhal commentedyes
Comment #9
fgjohnson@lojoh.ca commentedSweet,
Let me know when you need some testing.
Comment #10
fgjohnson@lojoh.ca commentedHi,
Just wondering if you have made any progress with this?
Thanks
Comment #11
nixou commentedI worked on this issue and I created a patch with a full implementation to Webform Localization.
To have the matrix component translatable you should apply this patch and then :