• Resolved roeller

    (@roeller)


    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 ?

    • This topic was modified 3 years, 4 months ago by roeller.
    • This topic was modified 3 years, 4 months ago by roeller.
    • This topic was modified 3 years, 4 months ago by roeller.
    • This topic was modified 3 years, 4 months ago by roeller.
Viewing 1 replies (of 1 total)
  • Hello,

    At the moment, what you are trying to do is not possible, however, we will follow the interest of users in this regard and if other users request the same feature, we will implement it in the plugin.

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Auto translate only certain paragraphs? (exclude selector with :not() )’ is closed to new replies.