Home Forums Flowfolio WordPress Theme Localization contact form

This topic contains 4 replies, has 2 voices, and was last updated by  bkern01 3 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #565

    bkern01
    Participant

    Hi there,
    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

    #568

    Johnny
    Participant

    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 you

    #599

    bkern01
    Participant

    Hi,
    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!

    #608

    Johnny
    Participant

    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.
    thanks

    • This reply was modified 3 years, 9 months ago by  Johnny.
    #611

    bkern01
    Participant

    Thank you again for your immediate and great assistance.
    I did override the values in the main.js and page.php –> looks good now.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.