Support » Plugin: Falang multilanguage for WordPress » Not able to translate “Read More” button

  • Resolved whitelily85

    (@whitelily85)


    I´m using the “Faith” theme on this website, which has a featured pages slideshow on the homepage with excerpts and a “Read More” button.

    Falang is working well for everything else, except this “Read More” button.

    In the Falang plugin, under “Translate Options” I find:
    – sfly_simply_excerpt_read_more_enabled , which is on “1” for all languages
    – sfly_simply_excerpt_read_more , which has the translation for all languages

    However, this doesn´t seem to correspond.

    In the theme, the line is in the /template-parts/content-home-featured.php file:
    <span class=”hero-button-span”>” title=”<?php the_title_attribute(); ?>” class=”hero-button-anchor”><?php _e(‘Read More’,’faith’); ?></span>

    Any idea how to get the translation for this button working?

    Many thanks in advance 🙂

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sbouey

    (@sbouey)

    Hi,

    In this case , it’s displayed with _e(‘Read More’,’faith’), you have to use the great tool locotranslate , it’s used for static text like this

    Stéphane

    Thread Starter whitelily85

    (@whitelily85)

    Sorry for the late reply, but I have followed your advice and that did the trick. Many thanks!!

    Plugin Author sbouey

    (@sbouey)

    Perfect, if problem is soved.

    Have a nice day

    Stéphane

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.