I have created a German localization (de_DE.mo & de_DE.po) for the flowfolio template. So far it’s fine but the contact form still shows the old strings ie. the response “Thanks, your email was successfully sent” and the field information “required, invalid e-mail” is not translated. Any ideas?
Thanks – Birgit
hi, please make sure there are translated items(include ‘Thanks, your email was successfully sent’, ‘required’ and so on) in your .po file and compiled to .mo file, also these file should be placed under dir themes/flowfolio/languages.
thanks for your response. The translation .po and .mo files are placed in the flowfolio/language folder and the strings ‘Thanks, your email was successfully sent’, ‘required’ are translated. Other translations are fine but it looks that when hit the Send Button on the form, the translations are not pulled in. Can you check if there is a problem? Thank you!
hi, because of ajax call, the translate module may not working at this situation.
the direct alternative way to solve this is change some code here:
-open file flowfolio/js/main.js
find this line (line 840 or about)jQuery(this).before("<p class=\"success\">Thanks, your email was successfully sent.</p>"); translate this directly.
-other phases are in page.php under form tag(line 78 or about), you can translate them manually.
This reply was modified 4 years, 10 months ago by Johnny.