Support » Plugin: WooCommerce » A translation is not being taken into account

  • Resolved gnwysiwyg

    (@gnwysiwyg)


    Hello,

    We mainly have variable product and sometimes, customers can choose a color and a size. When a combination is not match, we have a popup alert, which is normal. However, the message “Sorry, no products matched your selection. Please choose a different combination.”, while fully translated in the .po file doesn’t show on the website. It’s still in English. I even tried updating the file with PoEdit using the last .pot file but no luck. Anything else I should do?

    Thanks!

    • This topic was modified 3 months ago by gnwysiwyg.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Prin S

    (@prin_settasatian)

    Hello there,

    I understand the translated version of “Sorry, no products matched your selection. Please choose a different combination.” does not show on your site.

    Could you try using the Say what? plugin (https://wordpress.org/plugins/say-what/)?

    1. After installing, go to your site’s WordPress dashboard.
    2. On the left sidebar, click on Tools -> Text changes.
    3. Click on the Add New button.
    4. In the Original string box, type in Sorry, no products matched your selection. Please choose a different combination..
    5. In the Text domain box, type in woocommerce.
    6. In the Replacement string, type in your translation.

    Let me know if this works for you.

    Thread Starter gnwysiwyg

    (@gnwysiwyg)

    Hello,

    Thank you for your answer. I tried as you said but still no luck:
    Screenshot
    You can try and go on the website and see for yourself

    Plugin Support Margaret S. woo-hc

    (@margaretwporg)

    Hi @gnwysiwyg

    Thanks for trying that.

    As it did not work for you, you can post the issue in the plugin’s support forum:
    https://wordpress.org/support/plugin/say-what/

    Depending on the plugins your site has, some text could be generated from other plugins and not only from WooCommerce. So you may want to try if the same happens when you deactivate all other plugins (except WooCommerce and Say What) and change the theme to the default Storefront.

    You can test this out on a staging site using a plugin like WP Staging, without affecting the appearance of the front end.

    Here’s the conflict test guide for reference: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Plugin Support Margaret S. woo-hc

    (@margaretwporg)

    We haven’t heard back from you in a while, so I’m marking this thread as closed for now – we’ll be here if and/or when you are ready to continue.

    Thread Starter gnwysiwyg

    (@gnwysiwyg)

    Hello,
    Even if the thread is closed, I wanted to let people know, in case someone had the same issue. It was indeed caused by another plugin, linked to the theme! 🙂

    Plugin Support Mashi (woo-hc)

    (@shaonback2)

    Hello @gnwysiwyg!

    I wanted to let people know, in case someone had the same issue. It was indeed caused by another plugin, linked to the theme! 🙂

    Thanks for letting us know!

    Please feel free to create a new thread if you have any further questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.