- August 14, 2013 at 5:41 pm #565
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 – BirgitAugust 15, 2013 at 2:33 am #568
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.
thank youAugust 17, 2013 at 9:28 pm #599
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!August 18, 2013 at 8:35 am #608
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.
August 18, 2013 at 11:01 am #611
- This reply was modified 3 years, 7 months ago by Johnny.
Thank you again for your immediate and great assistance.
I did override the values in the main.js and page.php –> looks good now.
You must be logged in to reply to this topic.