Translate mail sent from contact form - by madsk

This topic has 6 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: madsk
    madsk
    Participant
    April 26, 2015 at 11:39

    When a mail is sent from the contact from on the page I recieve an e-mail in English with the text entered.

    How do i translate the predefined text being sent in the mail? (Like the subject etc.)

    I’ve attached an image with the words marked in RED.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 26, 2015 at 17:02

    Hello,

    You can translate that text in the file wp-content/themes/royal/framework/theme-functions.php (line 1506-1512).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: madsk
    madsk
    Participant
    April 26, 2015 at 20:53

    Can i also put this in a child theme so its not reset when updating?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 27, 2015 at 09:49

    Hello,

    Yes, you need copy part of the code into functions.php file in the child theme.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: madsk
    madsk
    Participant
    April 27, 2015 at 10:14

    Thank you very much.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 27, 2015 at 12:04

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Translate mail sent from contact form’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.