• Resolved Damian

    (@flexcode)


    Hello.

    How can I translate ‘Customize strings’ to other languages when using WPML?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello Damian,
    sorry, I lost this message.

    There are some filters that you can use in your child theme.

    E.g. You need to customize the string “Custom text to display before Overall Rating” you can do like this code

    add_filter('yasr_cstm_text_before_overall', static function () {
    return 'YOURTEXT';
    }, 99);

    You can wrap this code inside some ifs according to the languages.

    You can find all the filters here

    Hope this helps!

    • This reply was modified 1 year, 8 months ago by dudo.
    Thread Starter Damian

    (@flexcode)

    I found them myself, because I didn’t have time to wait ?? Thanks

    Plugin Contributor dudo

    (@dudo)

    Great!
    Next time, if I don’t answer in 48h, you can tag me ??

    Best,
    Dario

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize strings and WPML’ is closed to new replies.