Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Popular Features › Member Profile Search › Homepage profile search form : change the words "from", "to" (in age interval)
- This topic has 6 replies, 4 voices, and was last updated 4 years, 10 months ago by
Themosaurusrex.
-
AuthorPosts
-
CoralieParticipant@corvin14
- 9 Topics
- 30 Posts
One last question/issue :
3- I can’t find how to change the words “from” … “to” when a do a interval search criteria (like ages). It automatically wrote “from…to” how to change that ? My site is in french, so i need either to translate, or to change theses words manually but where ? I didn’t find the place to do that…
For exemple in the homepage search form. See in attachement.
Thank you again !
Ps : It should be in the same place, but i also need to find to change “SUBMIT”, text button.
July 6, 2020 at 07:03 #14693@themodactyl- 0 Topics
- 6758 Posts
Hi @corvin14,
Thanks for getting in touch! We’ve received your request and we’ll get you an answer shortly. 🙂
We really thank you for your patience!
In the meantime, feel free to check out our documentation resources for more help:
Kind regards,
July 7, 2020 at 09:37 #14793wdlbParticipant@wdlb- 13 Topics
- 17 Posts
Hi,
I had the same problem and no translation plugin was able to solve it. I tried loco translate, WPLM, but it didn’t work, so I had to translate the .php file.
Here’s the path:
public_html/wp_contents/plugins/grimlock_buddypress/templates/members/bps-form-home.php
In that file you change the source code:
‘From’ on line 94
‘to’ on line 104
and ‘Submit’ (if you couldnt translate it, but i could) on line 285. I left the ” around the words, I don’t know if the code would work without it, because I tried without, but even though I cleared the cache, the website shouwed the file with the ”, so I just left it like that, I’ll try to change it later.
Screen-Shot-2020-07-07-at-14.31.11
Screen-Shot-2020-07-07-at-14.29.02
Screen-Shot-2020-07-07-at-14.28.01
July 7, 2020 at 14:36 #14840@themosaurusrex- 0 Topics
- 2048 Posts
I’ve recently addressed a very similar issue/this very issue in another topic. To read more, please click the following link:
As I mentioned, it’s not recommended to edit the templates contained in your theme. Doing so without using any child theme or the Code Snippet plugin, you will loose your changes with any coming update.
Furthermore, either using thebp-profile-search.pot
translation file OR a good translation plugin should make this work for you. (Please see attached.)Cheers,
July 9, 2020 at 16:56 #15028@themosaurusrex- 0 Topics
- 2048 Posts
Please also note that this “Submit” string cannot be translated out-of-the-box. Thanks to the filter that we’ve added in Grimlock for BuddyPress, you should be able to do so if this plugin and your theme have been completely translated to your language, either using the POT files or your translation plugin.
July 9, 2020 at 16:59 #15030 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Homepage profile search form : change the words "from", "to" (in age interval)’ is closed to new replies.