Results 1 to 2 of 2

Thread: German translation doesn't show up

  1. #1
    Thread Starter
    Junior Member Rexxcom's Avatar
    Join Date
    Mar 2012
    Posts
    29
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question German translation doesn't show up

    Hi there,

    I followed the instruction from the instruction site on how to set up the translation.

    1. I created following path and pasted following files under wp-content-languages->themes->"classipress-de_DE.mo" and "classipress-de_DE.po" from the language packages download page.

    2. I went to the file wp-config.php and edited "define('WPLANG', '');" to "define('WPLANG', 'de_DE');"

    I pressed refresh and nothing happend.

    INFO:

    Under "function.php" I added follwing code:

    Code:
    add_action( 'admin_bar_menu', 'wp_admin_bar_my_custom_account_menu', 11 );
    
    function wp_admin_bar_my_custom_account_menu( $wp_admin_bar ) {
    $user_id = get_current_user_id();
    $current_user = wp_get_current_user();
    $profile_url = get_edit_profile_url( $user_id );
    
    
    if ( 0 != $user_id ) {
    /* Add the "My Account" menu */
    $avatar = get_avatar( $user_id, 28 );
    $howdy = sprintf( __('Willkommen, %1$s'), $current_user->display_name );
    $class = empty( $avatar ) ? '' : 'with-avatar';
    
    
    $wp_admin_bar->add_menu( array(
    'id' => 'my-account',
    'parent' => 'top-secondary',
    'title' => $howdy . $avatar,
    'href' => $profile_url,
    'meta' => array(
    'class' => $class,
    ),
    ) );
    
    
    }
    }
    Any ideas why it isn't working? (I'm using the latest ClassiPress version)

    Thank you guys!

  2. #2
    Thread Starter
    Junior Member Rexxcom's Avatar
    Join Date
    Mar 2012
    Posts
    29
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. German Translation
    By prysma in forum Help Using JobRoller
    Replies: 2
    Last Post: June 15th, 2011, 06:35 PM
  2. Some problems with german translation
    By sternburg in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: February 15th, 2011, 05:08 PM
  3. German Translation with Po Edit
    By stefan in forum Help Using ClassiPress
    Replies: 5
    Last Post: June 3rd, 2010, 02:59 AM