• Resolved titotb

    (@titotb)


    I am using Browser Language Detection to translate my blog, but it breaks code, as it should never be translated.

    Is there anyway to avoid it? should i unistall it?

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    You can add notranslate class like this for your specific case: <div class="enlighter-code notranslate">

    Please check: How to skip translations?

    Thanks! ??

    Thread Starter titotb

    (@titotb)

    Thanks Edo.

    It works if i create previous <div class=”notranslate”>, but i doesnt if i just add ‘notranslate’ to the class.

    I think i would be nice f you can include some classes to skip translation, so we dont have to do it every time we use it.

    BR!

    Plugin Author edo888

    (@edo888)

    Hi,

    It should work, I do not see you have it done as I suggested.

    You can use our paid version and in that case you will be able to use CSS selectors to skip translation of elements: https://gtranslate.io/#pricing

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Browser Language Detection breaks code’ is closed to new replies.