• Resolved dsteiny

    (@dsteiny)


    I have a plugin that translates my webpages. It is language instruction, so there are parts I don’t want to be translated. They provide a class, “notranslate” so I can wrap text and it won’t be translated. For instance <span class=”notranslate;”>Don’t translate me.</span>
    I can’t figure out how to apply the class to the cells in the table.
    Do you have a solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    If you want this to apply to individual cells, you’ll need to insert that HTML code

    <span class="notranslate">Don’t translate me.</span>
    

    into the table cell.
    You could all try applying this CSS class to the full table, by adding notranslate to the “Extra CSS classes” text field on the table’s “Edit” screen.
    Whether this is honored depends on that translation plugin though.

    Regards,
    Tobias

    Thread Starter dsteiny

    (@dsteiny)

    Thanks, I could not find the answer you already gave. Sorry. There are many, many thousands of table cells. That’s why I bought the problem. I hope I don’t have to switch to a different one. 🙁

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    please try adding the notranslate class to the “Extra CSS classes” field. Depending on how your translation plugin works, this should already help — without having to edit the individual table cells.

    Regards,
    Tobias

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

The topic ‘Use existing style on table’ is closed to new replies.