problem with load languages in child theme
-
Hello.
I have the theme “Highend” (folder themes/HighendWP)
I have created the child “Highend Child” (folder themes/HighendWP-Child
Under child I have created the folder /languages with .po e .mo of files under childin child/functions.php i have added:
function temachild_theme_setup() {
load_child_theme_textdomain( ‘Highend Child’, get_stylesheet_directory() . ‘/languages’ );
}
add_action( ‘after_setup_theme’, ‘temachild_theme_setup’ );but don’t work. load only the languages files under parent theme.
I have try changing the name (Highend Child, Highend-Child, HighendWP Child, HighendWp-Child)
I’m sure that child/functions.php is loaded because other customization work normally.
where i do wrong?
Thanks in advance.
Francesco
The topic ‘problem with load languages in child theme’ is closed to new replies.