• Resolved bestsase

    (@bestsase)


    Hello, i am strugling to fix a bug on my website, when i add the product to cart, it appears with the product name (%s) and after that it adds “&rdquo е додаден во вашата кошничка” (in Macedonian language)

    when i set it to English, there is no problem…

    i tried to check the translations with loco translate, that didn’t fixed it, then tried to look for that in database with “better search replace”, there was no problem also, then i found where should the problem be eventually, when i renamed the files for mk translations, actually this two files:
    https://imgur.com/UtV884V
    the problem didn’t appeared but ofc it was in English after that, so i assume its something in that files?
    feel free to try on your own, its a development website for now.

    have no idea what else to try?

    P.S. i tried on completely new installation, where i install only woocommerce plugin and mk language, and the problem is there…

    also tried to trace it a bit deeper, and came here:
    https://imgur.com/vgSeJOp
    where again everything seems alright to me.

    • This topic was modified 3 years, 1 month ago by bestsase.
    • This topic was modified 3 years, 1 month ago by bestsase.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Igor H

    (@ihereira)

    Hello,

    I understand the string has been added to your cart i.e. е додаден во вашата кошничка is added at the top after adding a product to the cart.

    I understand the problem is the notation ” which has been added before that string.

    Please note ” represent an HTML character, it is a double quotation mark. [More info].

    For some reason, the symbol is being converted to HTML entity name.

    To find the cause of the issue, can you switch the site theme to Storefront temporarily, and then disable all plugins except WooCommerce and the Loco Translate? Check again to see if the issue persists, if not, there is a conflict, and you can then switch back your theme to the original one, and reactivate the rest of the plugins (checking again after each plugin reactivation), until you find the cause of the issue. More info: https://woocommerce.com/document/how-to-test-for-conflicts/

    I hope this helps.

    Thread Starter bestsase

    (@bestsase)

    Solved!
    The problem was in the translation file.

    file: woocommerce-mk_MK.po

    line: 23436 at me,

    in that line was:

    which obviously missing ; after the &rdquo

    please who is responsible for the MK language, update that in the official translation so others don’t have this problem again, thanks..

    P.S. Also i tried on a clean WP installation with the default theme, and only woocommerce installed and MK language, the problem is there from the very beginning.

    Thread Starter bestsase

    (@bestsase)

    Solved, read the comment before this for the solution

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘in MK language, weird “&rdquo” appears when adding product to cart’ is closed to new replies.