Support » Plugin: Translate WP website - Weglot Translate » “data-wg-notranslate” as a class

  • Fabri


    hello, there is some possibility of adding the option of “notraslatable” as a class css?

    for example in the blocks of visualcomposer / wpbakery we can change add values to the id element and the class element, but not create new attributes like “data”, data-wg-notranslate

    for that reason we can not indicate that these elements are not translatable

    any solution? thx

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


    Hi Fabri,

    I see what you mean, but for now only the attribute data-wg-notranslate will be ignored from translations. but with the field “Exclude Block”, you can actually target classes or ids that you want you want to exclude. So you add the class “notranslate” wherever you want. Then in Weglot option, in “Exclude blocks”, you can add .notranslate




    ok Remy, thx


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“data-wg-notranslate” as a class’ is closed to new replies.