Hi John, Im trying to change the text in my child theme Lithestore-child, using Loco translate, but running into problems.
Do you have any idea what needs to be done to fix this?
I read a tutorial which suggested I replicate the language directory in the child theme folder, and add the following code to the functions.php of the child:
// Load translation files from your child theme instead of the parent theme
function my_child_theme_locale() {
load_child_theme_textdomain( ‘lithestore’, get_stylesheet_directory() . ‘/languages’ );
}
add_action( ‘after_setup_theme’, ‘my_child_theme_locale’ );
However it didnt work.. would appreciate your suggestions.
Thank you!
LCB