Translate theme issues - by jdewit - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Jack Richardson

  • Avatar: jdewit
    jdewit
    Participant
    January 15, 2016 at 15:59

    Hi,

    I’m trying to translate the theme but run into some issues:

    1. Not all strings translated in the PO file work. For example “sub total” in the cart menu.
    2. Load child theme text domain is not working when placing nl_NL files in child theme languages directory.

    I’m using this code in child theme functions.php:

    function my_child_theme_setup() {
    load_child_theme_textdomain( ‘mychildtheme’, get_stylesheet_directory() . ‘/languages’ );
    }
    add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );
    ?>

    Cheers,
    Jaap

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 16, 2016 at 17:40

    Hello,

    1. Please provide us with WP Dashboard and FTP credentials in private content.
    2. Languages files must be placed in parent theme, not in the child theme.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.