Tagged: ,

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

    Hello, how can I translate the contact form heading, send button and submit message? I’m using WPML and there’s no option to translate the text for these items.

    Any help is appreciated.

    #113738

    You can use the theme language files (po/mo files) to translate the contact form text strings (captions, button text, message, etc.). Go to the wp-contentthemescoherencelang folder and search for default.po. This file contains the original text strings and you can translate them with tools like Poedit. Translate the strings and save the translation (make sure that you use the right file names: http://codex.wordpress.org/Translating_WordPress ). Poedit generates two files – one (po file) file contains the non-compiled text strings the mo file contains the compiled text strings. Place both files into the lang folder and repeat this step for each language.

    #113739

    Thanks I will try that.

    #113740

    Hey!

    I hope it worked out?

    Best regards,

    Peter

    #113741

    Yes now I can see the correct translation. Will finish editing the po file today.

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

The topic ‘How to translate contact form with WPML?’ is closed to new replies.