Home Forums WoodMart support forum Translate the admin menu in child theme

Translate the admin menu in child theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18798

    Sixtudio
    Participant

    Hi!

    How can I translate the admin menu into a child template?

    Regards.

    #18826

    Artem Temos
    Keymaster

    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

    #18877

    Sixtudio
    Participant

    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' );
    }
    #18897

    Artem Temos
    Keymaster

    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/

Viewing 4 posts - 1 through 4 (of 4 total)