Home Forums WoodMart support forum translate

translate

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #217257

    greenbeton
    Participant

    Здравствуйте. Я не могу перевести одно предложение на русский язык. Ранее я пользовался функцией которую вставлял в файл function.php woodmart child
    Пример:
    add_filter(‘gettext’, ‘translate_text’);
    add_filter(‘ngettext’, ‘translate_text’);

    function translate_text($translated) {
    $translated = str_ireplace(‘Logout’, ‘Выход’, $translated);
    return $translated;
    }

    Для других слов и предложений эта функция работала, но для search for products она не работает.
    Как мне сделать перевод этого предложения на русский язык?
    Спасибо.

    Attachments:
    You must be logged in to view attached files.
    #217275

    Hello,

    I saw the screenshot you attached. To Translate the text you need to install and use the loco translate plugin then you need to choose the correct path to translate the string.

    Your path will be loco translate >> Themes >> Woodmart.

    Screenshot for Clarification: https://ibb.co/rby3TTw

    You can watch our detailed videos on how to translate string using loco translate: https://www.youtube.com/watch?v=D3NsDdMzsls

    Best Regards.

    #217284

    greenbeton
    Participant

    Спасибо помогло.

    #217289

    Hello,

    We are thrilled that you loved your experience with XTEMOS,We put customer experience and satisfaction as our priority, and your words reaffirms the hard work we put in every day.

    So thanks for your kind words and we look forward to seeing you again.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘translate’ is closed to new replies.