Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mdpca

    (@mdpca)

    Solved. Hardcoded the attribute – data-no-translation. Was a DOM element – that is being created/exists – only when instructed to appear on page. Found the responsible .js file…searched for class and added attribute.

    • This reply was modified 2 years, 7 months ago by mdpca.
    Thread Starter mdpca

    (@mdpca)

    Correction –

    NOTE: The <span> tag that appears contains .select2-selection__rendered as a class. This class IS on the page when it loads. It appears after > only when selecting a “Vehicle Make”. Before that, has display:non to not show the field.
    **When adding the data-no-translation attribute to the always present span tag manually through browser inspect, its works. But when using either your code snippet or entering this into the “Exclude selectors from translation” section… it never appears?

    Why is the att not showing when targeting using either or above methods? I tried with other .class and #id and it works. But not for this specific class…im out of ideas besides hard coding it in which is not an option for me right now.

Viewing 2 replies - 1 through 2 (of 2 total)