Find Answers and Get Support › Forums › Cera – Intranet & Community Theme › Fine Tuning › Translations › How to translate the seach bar at the top
- This topic has 5 replies, 2 voices, and was last updated 3 years, 2 months ago by Olivier.
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!March 12, 2020 at 18:52 #10627
Thank you for reaching back to us! ?
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.potfile? If that’s not the case, I suggest that you give a quick look to the following post as it addresses this topic:
Usually, we recommend to rename both files
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,March 13, 2020 at 16:09 #10646
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?March 14, 2020 at 09:55 #10648
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:
Once you have translated the strings you need, you should have a
bp-profile-search-en_US.pofile that you will place in the
wp-content/languages/pluginsdirectory of your site. For other languages than English, please replace
en_USfrom 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,March 16, 2020 at 11:19 #10654
Thanks a lot for the response, the suggestion worked.March 17, 2020 at 00:00 #10675
That’s great! I’m glad to read that I’ve been able to help you!
Best,March 17, 2020 at 20:31 #10706
The topic ‘How to translate the seach bar at the top’ is closed to new replies.