Translation not working


Hi Karen,

You did right but did you load the translations AFTER the theme setup?:

// add the translations if needed
add_action( 'after_setup_theme', mytheme_child_theme_setup' );

/**
 * Setup the child-theme's translation file
 * @return [type] [description]
 */
function mytheme_child_theme_setup() {
    load_child_theme_textdomain( 'tm-beans', get_stylesheet_directory() . '/lib/languages' );    
}

Write a reply

Login or register to write a reply, it's free!