Home Forums WoodMart support forum description

description

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #601780

    mahnaz
    Participant

    “Hello, how can I change the word ‘description’ on the product page? My website is in French, and in the future, we plan to add an English version. without plugin

    Attachments:
    You must be logged in to view attached files.
    #601918

    Hello,

    Try to add the following code in the function.php of the child theme to rename the products tabs.

    function woo_rename_tabs( $tabs ) {
        $tabs['description']['title'] = __( 'More Information' );            // Rename the description tab
        $tabs['reviews']['title'] = __( 'Ratings' );                         // Rename the reviews tab
        $tabs['additional_information']['title'] = __( 'Product Data' );     // Rename the additional information tab
        return $tabs;
    }

    Best Regards

    #602030

    mahnaz
    Participant

    Thanks. One question: I updated WordPress to the French version, and I also changed the language to French. However, I still see a lot of English text, such as ‘cart’ and ‘my account.’ I changed the names from the pages or menu links, but I noticed that the theme couldn’t translate them. Should I change them one by one with code?

    #602041

    mahnaz
    Participant

    for example this part show filter

    Attachments:
    You must be logged in to view attached files.
    #602133

    Hello,

    To change the text Try to use the loco translate plugin for this:
    https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/

    If you have any questions feel free to contact us.

    Best Regards

    #603485

    mahnaz
    Participant

    thanks, if i want change the only my account and filter name , how should i do ?

    Attachments:
    You must be logged in to view attached files.
    #603601

    Hello,

    Try to use the loco translate plugin for this to change the text.
    https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/

    Best Regards

    #603817

    mahnaz
    Participant

    I need somthing like that :
    function woo_rename_tabs( $tabs ) {
    $tabs[‘description’][‘title’] = __( ‘More Information’ ); // Rename the description tab
    $tabs[‘reviews’][‘title’] = __( ‘Ratings’ ); // Rename the reviews tab
    $tabs[‘additional_information’][‘title’] = __( ‘Product Data’ ); // Rename the additional information tab
    return $tabs;
    }
    only for my account

    #603938

    Hello,

    To change the text you need to install and use the loco translate plugin.

    We suggest you add a Custom button with the text and icon you need from Theme Settings >> General >> Mobile Bottom Navbar.
    Screenshot:https://ibb.co/BscfZhK

    Best Regards

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)