The function was not added on my childtheme.
when i create translation i set the languages files be saved on child theme folder.
i tried these 2 functions:
add_action( ‘after_setup_theme’, ‘my_theme_setup’ );
function my_theme_setup(){
load_theme_textdomain( ‘my-theme’, get_stylesheet_directory_uri() );
}
On this one was not working so i decide to create “languages” folder inside child theme and copy languages file there and use this function
add_action( ‘after_setup_theme’, ‘my_theme_setup’ );
function my_theme_setup(){
load_theme_textdomain( ‘motors-child’, get_template_directory() . ‘/languages’ );
}
but still not loading translation configured on loco