Skip to:
Content
Pages
Categories
Search
Top
Bottom

change forum header text

  • @screenprotector

    Participant

    Hi

    In the French version of bbpress (the latest version), I want to change the header “Participants” (it’s “Voices” in the English version) to “Voix”. Could someone tell me how to do that please ?

    Now, I’ve spend a lot of time researching and trying different things from CSS to PHP and I’ve gone back removed all the changes because nothing has worked so far. And I wanted to get things ready for any suggestions you guys might be able to supply. I am using DIVI 3 theme and builder.

    For info, I have removed the side bar from the forum, and that is the only customization of bbpress I’ve left in place. I used custom CSS i found on this forum.

    I’d appreciate knowing what to change and were to change it. I’m a beginner so I’d need fairly basic instructions, but I know where to put CSS into the Divi theme, and I know how to go into the PHP and how to create a child theme.

    thanks in advance
    best regards
    SP

Viewing 2 replies - 1 through 2 (of 2 total)
  • @screenprotector

    Participant

    For info, I have already tried to find line 21 as mentioned here, but cant find it.

    https://buddypress.org/support/topic/changing-bbpress-column-headings/

    @vinod-dalvi

    Participant

    You can change it by adding following custom code in the functions.php file of your child theme.

    function vvd_bbpress_translate_text( $translated_text, $text, $domain ) {
    	if ( 'bbpress' === $domain && 'Voices' === trim($translated_text) ) {
    		$translated_text = 'Voix';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'vvd_bbpress_translate_text', 20, 3 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar