• Resolved GIANNISCFA

    (@gianniscfa)


    I add a custom css class to a plugin called Wp travel engine,

    i would like to translate this class : “From” to another language but the editor cannot find this word. Any suggestions?

    https://prnt.sc/NKoVxr17SWCo

    CCS CODE:

    .actual-price:before {
    content: “From: “;
    font-size:18px;
    }

Viewing 1 replies (of 1 total)
  • Plugin Support Anca

    (@ancavictoria)

    Hello there,

    Thank you for reaching us!

    That string is inserted with CSS, it cannot be translated through normal means.

    TranslatePress adds a class to the body which tells you the language that is being used. For example: translatepress_en-US or translatepress_fr-FR

    You can try to use the class that is added on the body element of the website to change the string in this element.

    Best Regards,

    Anca

Viewing 1 replies (of 1 total)
  • The topic ‘Translate a class’ is closed to new replies.