• Resolved Raul Craveiro

    (@craveiroraul)


    I’m using a child theme with Chaplin, and I put the pt_BR.po and .mo on the languages tab, but It doesn’t work. :/

    What can I do?

Viewing 1 replies (of 1 total)
  • Thread Starter Raul Craveiro

    (@craveiroraul)

    I just discovered what to do:

    I used this in my functions.php:

    /* Add language support */
    function child_theme_slug_setup() {
        load_child_theme_textdomain( 'chaplin', get_stylesheet_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'child_theme_slug_setup' );
Viewing 1 replies (of 1 total)
  • The topic ‘How to translate Chaplin with a Child theme’ is closed to new replies.