Laurent J.V. Dubois
Member
Posted 5 months ago #
I need a dedicated .mo translation file for the child theme.
I've take a look to the code,
load_theme_textdomain is called by twentyeleven_setup() in the functions file.
get_template_directory() is a common issue with child theme, I've tested the with get_stylesheet_directory()
without success ...
if someone have an ideas ...
http://wordpress.org/extend/themes/twentyeleven/
Laurent J.V. Dubois
Member
Posted 4 months ago #
How stupid is my wordpress blog, It don't check if I use a child theme so ...
In your Child theme, you have to remplace load_theme_textdomain by
load_child_theme_textdomain just because the common function load_theme_textdomain don't do it, and you have to take care about get_template_directory() and get_stylesheet_directory() too ...