• Mat

    (@blocknotes)


    Hi πŸ™‚
    Great plugin, I like it a lot.

    I have a problem with the localization, some strings are not display translated. They are set correctly in the .po/.mo files – the problem seems only with the woocommerce “dialog” messages / notices.

    For example: “My product was successfully added to your cart” appears always in english. If I try to print the same string later (for example in “class-wc-product-simple.php”) it is corretly translated…

    I didn’t define WP_LANG, it works automatically.
    Perhaps… wc_add_to_cart_message is called before lang init / text domain is set…?
    Perhaps

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Thread Starter Mat

    (@blocknotes)

    I found the problem… it’s related to PolyLang plugin.
    When I disable it WooCommerce works as expected.

Viewing 1 replies (of 1 total)

The topic ‘Problem with some translations…’ is closed to new replies.