• Hello!

    I have a multilingual website. And users can go through the whole checkout process in different languages. We have these two checkout pages and everything works fine and is translated correctly:

    • scienhub.test/en/checkout/
    • scienhub.test/ca/pagament/

    But once the purchase is finished, both of them open the English version instead of the actual language version:

    • scienhub.test/en/checkout/order-received/964/?key=wc_order_f9DH02UaRDmJc

    If I manually introduce the same address in other languages by changing the locale in the URL, everything looks fine and is translated. Like:

    • scienhub.test/ca/checkout/order-received/964/?key=wc_order_f9DH02UaRDmJc

    So, our problem is that WooCommerce doesn’t take the user to the correct localized page. Is this a bug? Do you have any information on how can we solve it?

    I’ve tried using add_action(‘woocommerce_thankyou’, …) in different ways, but I can’t retrieve the initial language the checkout page is being visited in, because the language is retrevied once the user is already in the last page in English.

    From WooCommerce support, we have been asked to contact you.

    Thanks a lot! We really appreciate your plugin ??

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    As explained in the plugin’s description, using Polylang + WooCommerce together requires to use a Premium addon Polylang for WooCommerce.

    Thread Starter kram09890

    (@kram09890)

    Hi Chouby,

    unfortunately our need doesn’t seem to be listed in the specs of your different plans.

    If you don’t mind, we will leave the post open in case someone can help us or put us in the right direction.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce redirects to the wrong language Checkout Completed page’ is closed to new replies.