• Resolved dipokemon

    (@dipokemon)


    Hello, I have a problem with WooCommerce translation. I set the language to Suomi (Finnish) in WordPress settings and many WooCommerce strings got translated. But there were inscriptions “Next”, “Previous” in the pagination and a message about an empty cart in English. In the .po file, I found a line that translates the message “No products in the cart”, but it doesn’t work. I wanted to translate the strings “Next” and “Prev” using the function, but this did not work either. How can I fix this problem?

    add_filter( 'woocommerce_pagination_args' , 'fin_override_pagination_args' );
    function fin_override_pagination_args( $args ) {
    	$args['prev_text'] = __( 'Edellinen' );
    	$args['next_text'] = __( 'Seuraava' );
    	return $args;
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Translation of some strings’ is closed to new replies.