badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to translate "search" label and other theme options

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #62713
    y
    Participant

    I’m using WPGlobus to translate the website content. But I couldn’t figure out a way to translate the ‘search’ bar in navigation menu (see screenshot).
    I’ve added PO/MO files with translated option like this:

    #: searchform.php:10 searchform.php:12 searchform.php:14
    msgid "Search"
    msgstr "Поиск"

    and placed those files under /wp-content/languages/themes/newscard-pro-child-ru_RU.mo and ..po

    But when I switch the language nothing happens. How do I do this correctly?

    #62773
    y
    Participant

    Guys?

    #62778

    Hi there,

    Can you please try uploading your language inside the language directory.

    Thank you!

    #62912
    y
    Participant

    Yes, it did work. Thank you!

    #62926

    Welcome anytime @y 🙂

    #63123
    Denis Bisteinov
    Participant

    Same problem here.
    The names of the files are:
    newscard-pro-ru_RU.mo
    newscard-pro-ru_RU.po

    I tried 3 variants, none of them worked:
    /wp-content/themes/newscard-pro/languages/
    /wp-content/languages/
    /wp-content/languages/themes/

    #63154

    Hi Denis,

    Please try removing the theme name ‘newscard-pro’ and use just the ru_RU.mo and ru_RU.po for the language file.

    Thank you!

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