• Resolved huusmann

    (@huusmann)


    Hi there,

    I have a multilanguage site, and I am trying to translate the WooCommerce emails, e.g. the order confirmation emails into three different languages; Swedish, English, and Danish. Words like ‘price’ and ‘shipping address’ are translated correctly, but the custom text I wrote in the email body, is not translated. I am using Loco translate, and I can’t find the string(s) for the custom text.

    I am using TranslatePress to translate the site. It’s a front-end editor plugin, so I am able to translate everything that appears in the front-end. However, I cannot translate WooCommerce emails with this plugin. I was wondering if there is any way I can translate the custom text from the emails?

    Any help would be much appreciated.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • hannah

    (@hannahritner)

    Hey,
    Thanks for reaching out! You should see the strings for body text within this plugins strings, not WooCoomerce. Do you see it there? What plugin are you using to output the site in multiple languages?

    Regards,
    Hannah

    @huusmann Have you found a solution on this one?

    Regards,
    Bart

    I’m having the same problem here.

    @hannahritner I’m using Loco Translate to get the strings, email body text is not among the Email Designer strings.

    hannah

    (@hannahritner)

    Hi @shamanesco,
    You can adjust the email body text from within the customizer under Email Type and Text.
    Does that work for you?

    Kindly,
    Hannah

    hi @hannahritner , joining this thread too. i think @shamanesco isn’t trying to change the text, but translate it. i have a multilingual site in EN and IT, and depending on the customer, they receive the order emails in either english or italian. the woo order table is translated fine, but the body text isn’t. if we typed it in english in the Body Text field of the kadence customizer, that’s what everybody gets. i use Loco, and Loco doesn’t see any of the text i added in the Body Text field. that’s what @huusmann is asking too. can you help with this?

    @wheeleran

    The text you add into the emails through the customizer can be translated via “string translations” in polylang or WPML for other languages than the site default. If you are using another Muitliigual plugin then you would need to check with their support about how you translate custom strings defined in the settings of a plugin.

    Ben

    thanks @britner, and yes it works with Translatepress using their conditional shortcodes. no Loco or anything else needed. looks like crap in the kadence editor, but the emails come through perfectly!

    hey @huusmann, @shamanesco, @ealmo, and anyone finding this thread, using translatepress, it’s:

    [trp_language language=”en_US”]English text here[/trp_language][trp_language language=”it_IT”]Italian text here[/trp_language]

    it works for the body text, subtitles, AND titles of all emails. don’t add any spaces before, after, or between the shortcodes, but paragraph spacing within the opening and closing shortcodes is obeyed.

    hope that helps!

    • This reply was modified 3 years, 7 months ago by wheeleran.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translation of custom text, e.g. body text’ is closed to new replies.