• The list of cookies is not shown if it is not in the default language.
    I edited the file cookie-law-info/public/modules/shortcode/shortcode.php removing/adding the WPML filters as described here:
    https://wpml.org/forums/topic/custom-taxonomy-query-in-two-languages/#post-1453955
    and it started working without problems.
    I’m not sure what the correct behavior should be because I don’t have experience with WPML. I could not add translated cookies to the translated version of the category, they are automatically assigned the equivalent category in the default language.
    Obviously, the solution of modifying the plugin is temporary, I would like some help here

Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @tauri77,

    Greetings from Webtoffee!

    Please check if you have completed the translation for cookie categories and cookies from the cookie list. You may follow this article from our documentation to know how to translate it using WPML. After successful translation still if you are missing the cookie table under the cookie category selection of cookie settings popup, make sure the below shortcode is present inside description field of every translated cookie categories in the plugin menu.

    [cookie_audit category=”advertisement” style=”winter” columns=”cookie,duration,description”]

    In the above syntax, the cookie_audit category= should be the slug name of your cookie category where this shortcode is pasted.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode cookie_audit doesn’t work when translating using WPML’ is closed to new replies.