Form languages and translation
-
Hi, first of all – congratulations for a very interesting plugin.
I have been trying to make translations/languages work on my webpage. It is mandatory that I have the same form in two languages available. I have been playing with ?hl=xx parameter, which, to my surprise, works (to some extent). This ‘extent’ is limited to the phrase “Required*” at the beginning of the form and Submit button. (My surprise deepened when I discovered that ?hl=xx parameter does not change the output of the form if used in ‘standalone’ version, out of the box from Google. Weird – nevertheless, back to my question.)
I would like to know if it is possible to enable translation for other parts of the form, i.e. “What is” in CAPTCHA or error messages? I managed to create *.po and *.mo files for my language, but the translation works only in options and settings (not every string is defined, though).
In wordpress form page source I see ‘required’ messages in proper language, but they are displayed on the webpage in English. I am a total layman, but maybe it has something with wpgform_script_vars in javascript, which are defined in English and supposedly override translation.
- The topic ‘Form languages and translation’ is closed to new replies.