Auto translate only certain paragraphs? (exclude selector with :not() )
-
Hello,
I am wanting to know if the following would be possible:
We will not use Translatepress for most of the site because it’s all native translated using .PO files.
The ONLY thing we want to translate is :
<p class="short_item_description">TEXT INSIDE</p>
I saw it is possible to EXCLUDE certain selectors from auto translate, but we want the opposite.
Would Translatepress handles :not() correctly?
So if we do EXCLUDE SELECTOR:html:not(.short_item_description)
This basically excludes everything except the short_item_description class ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Auto translate only certain paragraphs? (exclude selector with :not() )’ is closed to new replies.