• Resolved erniecom

    (@erniecom)


    Please correct me when I am mistaken. My understanding is that WooCommerce does only translate the emails to the WordPress default language. This means when there is a second language in play that emails will never be send out in that other language unless the default language is changed before.

    I am wondering now what is the logic in that? What has the site default language to do with the client in the context of a multilingual shop?

    Is there a hook that could be used to dynamically set the email language to the client’s language? Why isn’t that standard procedure in a globalized economy?

    Interesting that a product like WooCommerce does not build in this functionality and making work-arounds like https://gist.github.com/dartrax/85b3ab77b8210e92cc50e1b68de83c73 necessary.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @erniecom,

    A default site language needs to be set in the WordPress core settings on the Settings > General page, but multiple languages can be added to the site (for situations like you described, involving multilingual shops).

    If a customer selects one of the languages that have been downloaded and added to the site, that is the language that they should see. If they haven’t selected a language, they will see the default language. You can view what language a user has selected by going to the Users > Profile page.

    If this doesn’t appear to be the case, there could be a few reasons why the email language isn’t matching the customer’s site language, so it would be helpful if you can provide more info about what is specifically happening and how the translations have been added.

    Hi @erniecom

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to switch email language to client language?’ is closed to new replies.