child theme textdomain won’t load at ALL
-
My parent theme is installed in “business-elite” folder, and my child theme in “orastudio” folder.
the parent theme functions.php calls
define("WDWT_DIR", get_template_directory());
and then
load_theme_textdomain("business-elite", WDWT_DIR.'/languages' );so in my child theme I added
add_action( 'after_setup_theme', 'my_theme_child_setup' ); function my_theme_child_setup() { load_child_theme_textdomain( 'orastudio', get_stylesheet_directory() . '/languages' ); }uploaded my landuage .mo and .po but nothing works.
I’ve searched a lot of pages, byt my code seems correct. the child theme textdomain is correct, the path of the translation files are corrects, I tried to upload ALL .mo and.po rfom parent to child with translated strings…nothing happen.If I use the .mo nad.po files in the parent theme, obviously works.
Am I missing something?
The topic ‘child theme textdomain won’t load at ALL’ is closed to new replies.