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)
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 #14693July 7, 2020 at 09:37 #14793
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:
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.01July 7, 2020 at 14:36 #14840
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 the
bp-profile-search.pottranslation file OR a good translation plugin should make this work for you. (Please see attached.)
Cheers,July 9, 2020 at 16:56 #15028
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
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!
The Themosaurus team.
The topic ‘Homepage profile search form : change the words "from", "to" (in age interval)’ is closed to new replies.