Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Please describe your problems.

    Thanks

    Example, function “wpm_translate_string” doesn’t work/translate

    <?php wpm_translate_string(‘[:it]Maggiori dettagli[:en]More); ?>

    Doesn’t support Plugin – Rank Math SEO, supports translate of keywords only one language now

    • This reply was modified 5 years, 2 months ago by aprinciple.
    • This reply was modified 5 years, 2 months ago by aprinciple.
    • This reply was modified 5 years, 2 months ago by aprinciple.

    test, maybe add [:]’ after More ?

    wpm_translate_string(‘[:it]Maggiori dettagli[:en]More[:]’)

    Not working, <?php wpm_translate_string('[:it]La nostra squadra[:en]Our team[:ru]Наша команда[:]') ?>

    <?php echo do_shortcode(‘[wpm_translate][:it]Detali[:en]More[:ru]Подробнее[:][wpm_translate]’); ?>

    I don’t know how to make this shortcode correct

    Thread Starter slickvick

    (@slickvick)

    Thanks for the reply.

    Some more details:
    WP version 5.4
    PHP version 7.2.15
    Theme: Enfold 4.7.3

    Languages: English / French

    Issue:

    When I modify text in French and switch back to English, the French text now appears in both versions.

    View post on imgur.com

    <?php wpm_translate_string(‘[:it]La nostra squadra[:en]Our team[:ru]Наша команда[:]’) ?>

    I have forgotten to add an “echo” 😀

    It all works)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fix for WP 5.4’ is closed to new replies.