I'm having a problem with a multilingual site and using the modal form module.
My site's default language is Japanese, but I have enabled Drupal's multilingual systems and some forms are in Korean and English.
When I view the normal webform page, the interface text (error messages, submit button, etc.) is localized in Japanese, English, or Korean (see attachment node.jpg).
But if I use the modal to view the webform, the site's default language is used (see attachment modal-form.jpg).
Using Firebug in the modal, I can see the i18n-en class on the body tag, so it seems like it should recognize to display the text in English.
Thank you
| Comment | File | Size | Author |
|---|---|---|---|
| modal-form.JPG | 20.63 KB | Jill L | |
| node.JPG | 14.61 KB | Jill L |
Comments
Comment #1
bavarian commentedHaving the same problem here.
In normal web form view, the node is displayed in the desired language, when switching languages.
But: when using the modal I always end up with a display of the site's default language.
Feels important for me to get this resolved ...
Comment #2
nbchip commentedCheck if your links to modal form are prefixed with language code.
Of course u should always use l function.
Comment #3
make77 commentedHello, I still had some issues with translated modal forms, even if I have the language prefix in the href. Here's my workaround to make the register form work in the modal, I used
$language_urlthat gave me the proper language: