Private: Home › Forums › WordPress Themes › Elvyre – Retina Ready WordPress Theme › Translation doesn't work with Child Theme › Reply To: Translation doesn't work with Child Theme
December 10, 2014 at 2:21 pm
#1272
Keymaster
Hi,
First script is ok but textdomain isn’t “elvyre” but “pi_framework”. Change it and it will work fine.
add_action( 'after_setup_theme', 'mts_child_theme_setup' );
function mts_child_theme_setup() {
load_child_theme_textdomain( 'pi_framework', get_stylesheet_directory() . '/languages' );
}