How to translate the seach bar at the top

Home Forums Cera – Intranet & Community Theme Fine Tuning Translations How to translate the seach bar at the top

This topic contains 5 replies, has 2 voices, and was last updated by  Olivier 6 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10627

    Şiyar Bahadır
    Participant
    • 6 Posts
    @siyarbahadir

    Hello! I translated the register and login buttons at the top of the site, but the search bar still shows “Search Everything” i need to translate it to my language, please help!

    #10646

    Olivier
    Moderator
    • 1799 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @siyarbahadir,

    Thank you for reaching back to us! 🙂

    You wrote:

    Hello! I translated the register and login buttons at the top of the site

    How did you translate your navigation bar? Did you translate your website using the provided cera.pot file? If that’s not the case, I suggest that you give a quick look to the following post as it addresses this topic:

    Translating Your Theme

    Usually, we recommend to rename both files cera-<your-language-code>.mo and cera-<your-language-code>.po. Then, please replace from the file name by the language code of your choice, for instance fr_FR for french.

    Finally, the best practice is to move the files in the theme languages directory of your website: wp-content/languages/themes directory. There, you will find the translation for other themes.

    This will also ensure that the files will not be lost during any future update.

    Cheers,

    #10648

    Şiyar Bahadır
    Participant
    • 6 Posts
    @siyarbahadir

    Hi Olivier, thanks for your response.

    I have managed to translate most of the site this way, thanks a lot.

    But now i have another problem, ı cannot translate the members search form, where can i find its source file?

    #10654

    Olivier
    Moderator
    • 1799 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @siyarbahadir,

    That’s great news! I’m glad to read that your translation process seems to run smoothly.

    The strings that you’re looking for need to be translated from the BP Search Profile plugin, as you have discovered. That plugin doesn’t provide any POT file, so we created one with all the strings from that plugin which you can download here:
    https://files.themosaurus.com/bp-profile-search/bp-profile-search.pot

    Once you have translated the strings you need, you should have a bp-profile-search-en_US.mo and bp-profile-search-en_US.po file that you will place in the wp-content/languages/plugins directory of your site. For other languages than English, please replace en_US from the file name by the language code of your choice, for instance fr_FR for french.

    Please keep us updated if this helped you with the translation of your website.

    Best regards,

    #10675

    Şiyar Bahadır
    Participant
    • 6 Posts
    @siyarbahadir

    Hi Olivier!
    Thanks a lot for the response, the suggestion worked.

    #10706

    Olivier
    Moderator
    • 1799 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @siyarbahadir,

    That’s great! I’m glad to read that I’ve been able to help you!

    Best,

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

The topic ‘How to translate the seach bar at the top’ is closed to new replies.