• pinokio

    (@lapanwebsite)


    [ Moderator note: moved to Fixing WordPress. ]

    Parent theme directory: blablator
    Child theme directory: blablator-child
    Network sites
    Two different child and parent themes

    .po and .mo are in child directories /languages

    added to both child functions:

    // Load translation files from your child theme instead of the parent theme
    function my_child_theme_locale() {
        load_child_theme_textdomain( 'blablator', get_stylesheet_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'my_child_theme_locale' );

    Changed in sites, and in network language to Bosnian

    .po and .mo are bs_BA

    Not working!

    Why?

    • This topic was modified 7 years, 9 months ago by pinokio.
    • This topic was modified 7 years, 9 months ago by pinokio.
    • This topic was modified 7 years, 9 months ago by Jan Dembowski.
  • The topic ‘Translating child theme?’ is closed to new replies.