Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Woocommerce templates are nor translatable #7573

    Okay, some woocommerce text is included in the .pot file, my fault – but not all, for example “update cart”.

    Next issue:
    its not possible to do the translation in the child theme language folder. i renamed .po and .mo file, i tried to load the text file out of WP language folder, i wrote a textdomain function and a added “Domain Path: /languages” in the child theme css. Nothing worked…

    THE CHILD THEME FUNCTION:
    function my_child_theme_setup() {
    load_child_theme_textdomain( ‘my-child-theme’, get_stylesheet_directory() . ‘/languages’ );
    }
    add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );

Viewing 1 post (of 1 total)