• Resolved Sara

    (@sarawordpress17)


    Hi,
    Is it possible to translate tab title in WooCommerce tabs? How?
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    Try this snippet:

    /**
     * Rename product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'ywp_rename_tabs', 98 );
    function ywp_rename_tabs( $tabs ) {
    	$tabs['description']['title'] = 'Product details';
    	$tabs['additional_information']['title'] = 'More informaion';
    	$tabs['reviews']['title'] = 'Users comments';
    
    	return $tabs;
    }

    Good luck

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello Sara,
    You can translate WooCommerce in your language here: https://translate.ww.wp.xz.cn/projects/wp-plugins/woocommerce/

    Also, you can use Loco Translate to translate it on your own website: https://ww.wp.xz.cn/plugins/loco-translate/

    If you simply want to change the title instead you can follow the suggestion by yazdaniwp above.

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter Sara

    (@sarawordpress17)

    Perfect works!
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WooCommerce Tabs title’ is closed to new replies.