BuddyDev

Search

xprofile taxonomy with wpml

  • Participant
    Level: Enlightened
    Posts: 48
    Eric Hinz on #52853

    Hi,
    I am using your plugin https://buddydev.com/plugins/bp-xprofile-custom-field-types/ and have created 2 taxomony fields in Buddyboss profile. All is working well, but with WPML the connection to the translated taxonomy entries is lost. In another language it is shown the original name and not the translated and if a user want to edit the field in the other language, the field is empty.
    I wrote this also to WPML but probably you can check this also?
    Thanks, kind regards
    Eric

  • Keymaster
    (BuddyDev Team)
    Posts: 24512
    Brajesh Singh on #52872

    Hi Eric,
    Thank you for reporting the issue.

    In our plugin, we use

    
    	$terms = get_terms( $taxonomy_selected, array( 'hide_empty' => false ) );
    

    and then loop through the terms to show $term->name as option label. I am not sure who WPML works with it. If the update the name, It should work.

    Otherwise, Please ask them if they recommend using another method to make it wpml compatible and I will update.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved