Translate the admin menu in child theme
-
Hi!
How can I translate the admin menu into a child template?
Regards.
Hello,
Thank you for choosing our theme and contacting us.
Here is a video that demonstrates how to translate strings with Loco Translate plugin hhttps://www.youtube.com/watch?v=D3NsDdMzsls&index=3&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval
Kind Regards
XTemos Studio
Yes, I already have all the translations done, but when I add them to the languages folder of the child template and add this code to the functions.php file, it translates everything related to the “Frontend” but not the admin menus “Backend”.
add_action('after_setup_theme', 'woodmart_child_theme_setup', 1000);
function woodmart_child_theme_setup() {
load_child_theme_textdomain('woodmart', get_stylesheet_directory() . '/languages' );
}
But you don’t need to add anything to the child theme. You need to translate it as demonstrated on the video. Your translation files will be located in the folder wp-content/languages/