problem with child theme language
-
Hi. I want to add language in woodmart-child . so I made a folder named: languages and then I added this in functions.php in child folder.
function child_theme_slug_setup() {
load_child_theme_textdomain( 'woodmart', get_stylesheet_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'child_theme_slug_setup' );
but nothing happens .. pls help me
Hello,
The child theme is not translated. You should translate the parent theme.
Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
We suggest you to keep translated files in wp-content/languages/themes/woodmart-pt_PT.po folder.
Best Regards