David Parker

My feedback

  1. 126 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    An error occurred while saving the comment
    David Parker commented  · 

    This works when you add it to the functions.php file just remember that when you use the word event or anthing similar in your blog it will change this too. Sure there's a fix for that though??

    function change_translate_text( $translated ) {
    $text = array(
    'EVENTS' => 'BONUS WEEKS',
    'Events' => 'Bonus Weeks',
    'Event' => 'Bonus Week',
    );
    $translated = str_replace( array_keys($text), $text, $translated );
    return $translated;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    An error occurred while saving the comment
    David Parker commented  · 

    I have found a quick fix for this:

    Paste the following code into your functions.php file using the editor and change bonus weeks into whatever word or phrase you want.

    function change_translate_text( $translated ) {
    $text = array(
    'EVENTS' => 'BONUS WEEKS',
    'Events' => 'Bonus Weeks',
    'Event' => 'Bonus Week',
    );
    $translated = str_replace( array_keys($text), $text, $translated );
    return $translated;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    David Parker supported this idea  · 

Feedback and Knowledge Base