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 4 years, 11 months ago by
Themosaurusrex.
-
AuthorPosts
-
Şiyar BahadırParticipant@siyarbahadir
- 7 Topics
- 13 Posts
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@themosaurusrex- 0 Topics
- 2048 Posts
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:Usually, we recommend to rename both files
cera-<your-language-code>.mo
andcera-<your-language-code>.po
. Then, please replacefrom 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Şiyar BahadırParticipant@siyarbahadir- 7 Topics
- 13 Posts
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@themosaurusrex- 0 Topics
- 2048 Posts
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.potOnce you have translated the strings you need, you should have a
bp-profile-search-en_US.mo
andbp-profile-search-en_US.po
file that you will place in thewp-content/languages/plugins
directory of your site. For other languages than English, please replaceen_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,
March 16, 2020 at 11:19 #10654Şiyar BahadırParticipant@siyarbahadir- 7 Topics
- 13 Posts
Hi Olivier!
Thanks a lot for the response, the suggestion worked.March 17, 2020 at 00:00 #10675@themosaurusrex- 0 Topics
- 2048 Posts
March 17, 2020 at 20:31 #10706 -
AuthorPosts
The topic ‘How to translate the seach bar at the top’ is closed to new replies.