• Resolved Maartenvveen

    (@maartenvveen)


    Hi,

    I’m encountering problems with the translation of WooCommerce on my website. I’ve tried several things already and it doesn’t seem to be a theme issue (I’ve tested with twenty nineteen to compare). The problem occurs in some odd spots in WooCommerce store and, more importantly, in outgoing e-mails. This is what I tried so far.

    – Site language and WooCommerce language are set to dutch.
    – I’ve uploaded translation files (dutch). Woocommerce is supposed to be 99% translated with these files: https://translate.www.ads-software.com/projects/wp-plugins/woocommerce/stable/nl/default/ > here I can also check the strings that are marked as ‘fuzzy’ (the remaining 1 %) , but these are not the ones causing problems.
    – I’ve used ‘TranslatePress – Multilingual plugin’ to translate some of the strings that weren’t automatically translated.
    – I’ve used ‘My custom functions plugin’ to insert PHP to translate notices that could not be change with TranslatePress

    The main problem remains and that is that the outgoing e-mails from WooCommerce are still sent in English. I cannot select these strings anywhere with Translate Press. And shouldn’t they automatically translate when everything is set to dutch? Especially since I have up to date translation files? What could be ‘blocking’ a correct translation?

    Thanks in advance for taking a look.
    Kind regards
    Maarten

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I understand that most of the translations are working well, but emails aren’t being translated. Those should be part of core WooCommerce, so should be covered with the default core translations for WooCommerce.

    The email contents can be overridden from any number of places, for example in your theme, or in an email plugin. If you’ve confirmed that the strings are translated in core WooCommerce but aren’t seeing the translations in the received emails, I’d start checking what could be affecting those emails. If you have an idea, try disabling the plugin/switching theme and seeing if the emails change.

    If you aren’t sure what could be causing it, I’d recommend a conflict test (possibly on a staging site) to help figure out what is affecting those emails. Here’s some info to get you started:
    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thread Starter Maartenvveen

    (@maartenvveen)

    Hi Hannah,

    Thanks you so much for you response.
    Can you explain to me where I should look to check if the strings are translated in core Woocommerce?

    I tried switching themes already, unfortunately that didn’t solve the issue.
    I only have one 3rd party plugin (Mollie) for the payments, but this plugin is also set to Dutch and shouldn’t be affected e-mail anyways.

    Considering this it might be best to check if, like you said, the core of Woocommerce is actually correctly translated, but I don’t know where to check en what I should look for. Can you explain to me how this works?

    Thanks in advance for your time and effort,

    Kind regards
    maarten

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    If you’re 100% sure that the strings must be in WooCommerce core, here’s how I’d approach it:

    First off, make sure that your site language is set to Dutch under wp-admin > Settings > General. If that’s not the case, these kinds of things can happen.

    1. Go to WooCommerce > Settings > Email and find that email in the list
    2. Make sure the email template isn’t overridden (option #1 in How to customize WooCommerce order emails)
    3. Confirm that templates are not overridden by checking `WooCommerce > Status – the template override section is at the bottom

    At that point, you’ve determined that unless there’s something truly strange happening, WooCommerce is using the default email templates.

    From here, I’d recommend using <a href=”https://www.ads-software.com/plugins/loco-translate/”>Loco Translate</a>. It could be that other translation plugins work, but this one that I personally use and know for sure that it’ll do what it’s supposed to. I’ll be using Loco Translate in the rest of this response.

    The email heading for the Order complete email is Your order is complete. I searched for that string in Loco and was able to find it:

    Email string
    Link to image: https://d.pr/i/xgl3ZE

    • This reply was modified 4 years, 11 months ago by Hannah S.L.. Reason: Fixed broken image link
    Moderator Hari Shanker R

    (@harishanker)

    Hey @maartenvveen

    Just checking-in: I hope the suggestions provided by Hannah, to use the LocoTranslate plugin, has helped you in achieving your requirement of translating the strings in your site.

    Since we haven’t heard from you in a while, I’m going to mark this topic as Resolved. Let us know if you keep running into troubles. You can either reply here to follow-up with the same problem, or create a new thread to report your troubles to us.

    All the best!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woo commerce translation in auto e-mails’ is closed to new replies.