Integrating Javascript - exclude some part

javascript,pbedition

Hi, I am integrating your translation tool with my site but want to stop translations of specific blocks of text, I wanted to use the css class to do this but I cant work out how to do this. I am NOT using a content management system like wordpress so cannot take advantage of their plugins. I appreciate any help on this. Thanks.

Frederick

Hi,

Thanks for your message.

You can exclude URLs and blocks. To do so, you have to enter these codes in your Weglot script:

exceptions:"",
excludeURLs:"",

The first one allows you to exclude blocks and the second one URLs. Just enter the CSS selector of the blocks you want to exclude (.this-class,#my-id)

I remain at your disposal if you have any other question.
Have a nice day,

Max

Thanks Max. This worked perfectly.

Frederick

Hi,

Glad I could help!

Have a great day,

Max