Forum Replies Created
-
Author
-
sv1audParticipant
Hi
yes I finally cancelled my BP core code changes, as it didn’t work
On my side I could translate all profile fields.
Did you install the BP multilingual plugin ?sv1audParticipantI’m missing something here.
I’ve tried with the exact field names or the translated ones, but I’m still stucked to 1.
The dates or values are matching when I’m testing.Something wrong with the code ?
sv1audParticipantHello
just to come back to my initial request, since you solved my birthdate display problem 😉
I wanted to match users by birthdate. I added the following code to sweetdate-child/functions.php but the matching score stats to “1”, what’s wrong ?
COPY CODEadd_action('after_setup_theme','kleo_my_match'); function kleo_my_match() { global $kleo_config; $kleo_config['matching_fields']['starting_score'] = 1; $kleo_config['matching_fields']['single_value'] = array ( 'Day of Birth' => 20, 'Month of Birth' => 30, 'Year of Birth' => 30, 'Country' => 10, 'City' => 10 ); }
Thanks !
sv1audParticipantUnfortunately that one didn’t make it…
The (select menu) field still shows in original language, and also loses index value (December switched to default January)
It’s hard to believe Buddypress doesn’t handle properly field values…!Thanks for your help, let me know if you have any other proposal please.
sv1audParticipantGreat support, it works fine.
Thanks again for your help and keep up the good work.
sv1audParticipantI don’t get it. In the Edit profile page, fields are already inserted when you modify them…
Plus same fields (“Month of birth”) in my case shows translated in the Sweedate search forms, but not in the Buddypress pages…
If you have any proposal that would really help. Thanks again.
sv1audParticipantThanks, we’re close…
After applying your change to Buddypress core file fields values appear translated in the theme search forms, but not in :
Register page
Edit profile pageIs this handled by Buddypress or by the theme ?
sv1audParticipantSorry I have to re-open this post 😉
Buddypress profile field names now translates well with WPML, but field values don’t… Should I register a new core function to handle them ?
Any suggestion ?
sv1audParticipantThanks… looks like it works !
I also added Buddypress Multingual : http://wordpress.org/plugins/buddypress-multilingual/ to allow users to edit their profile fields in the right language.
Now I guess the only remaining string I could not translate is the text “before” and “after” search form, that you can edit from the theme admin. Any idea how I could do this ?
You guys got my 4 stars for your support !
sv1audParticipantHi again,
I guess I understood why it didn’t work for me.
You need to check the WPML option “Auto Register strings” in the String Translation menu…
I still have a few bugs to solve. For ex. a select field displayed on the home page (search form) will display the right translated select menu values, whereas the user profile page won’t…
sv1audParticipantHi,
Unfortunately it still doesn’t work for me.– I added your function to the child theme functions.php
– activated the child theme
– added a new Buddypress profile fieldBut it still doesn’t show up in the WPML string translation…
Did you manage to do the same test ?
Thanks.
sv1audParticipantI’d like to show it on the user profile page, just like it’s displayed now. In this case the birthdate would be displayed in 3 lines… Could I show it like a “regular” date ?
Thanks again for your help
sv1audParticipantThanks, that’s what I started to do, but then I realized it doesn’t work if people registered their birthdate (using their profile birthdate field).
Would it be easy to hook up a function in the child theme that use the 3 fields (month-day-year) to query the registered birthdate ?
Thanks
sv1audParticipantHi,
I did several tests with WPML but it didn’t work : I created new profile fields from WP admin, but they don’t appear in WPML string translation…
Same pb for the “text before form”, I don’t see it in the string translation…
Any idea how I could make it work ?
Replace existing Profile fields instead of creating new ones ?Thanks.
sv1audParticipantHi there
I also have an issue with Buddypress profile fields label translations, when I add new fields.
I tried many tricks including WPML and Buddypress Multilingual plugin but nothing works so far.
Would it be a solution to use a (not used) profile field coming from the database and rename it ? Or please can you explain how to add new profile fields in the Sweetdate tables.
Thanks for your support.
-
AuthorPosts