This topic has 5 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #152612
     alla_alla
    Participant

    How can we translate tabs in profile?

    I use WPML in string translation have values.

    Attachments:
    You must be logged in to view attached files.
    #152767
     Laura
    Moderator

    Hello, please check https://archived.seventhqueen.com/forums/topic/wmpl-to-translate-profile-fields
    Does it work?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #152820
     alla_alla
    Participant

    The problem is not with the profile of fields, and with tabs.

    #152822
     alla_alla
    Participant
    COPY CODE
    class BpMembersTab
    {
        /* tabs instance */
        public $tabs_instance;
        public $args;
        
        public function __construct($args) 
        {
            $this->tabs_instance = BpMembersTabs::get_instance();
            
            $this->args = $args;
        }
        
        public function title()
        {
            $active = '';
            if($this->tabs_instance->active_tab === FALSE || $this->tabs_instance->active_tab == $this->args["name"] ) 
            { 
                $active = 'active';  
                $this->tabs_instance->active_tab = esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"])));
            }
            
            return '<dd class="'.$active.'"><a href="#'.esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"]))).'">'.$this->args["name"].'</a></dd>';
        }

    maybe there is something to change?

    #152879
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #153376
     Radu
    Moderator

    Hi,

    Maybe yes, it’s possible to provide FTP login details to can test some solutions ?

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?