Support » Theme: Page Builder Framework » Not able to translate the “CART”

  • Resolved hcporto

    (@hcporto)


    My menu displays the woocomerce cart and all its texts in inglish, even with my woocommerce and wordpress in portuguese.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author David Vongries

    (@davidvongries)

    Hi @hcporto,

    you can use this filter to change the “Cart” text in your child-theme’s functions.php file:

    function wpbf_woo_custom_menu_item_label() {
        return 'Basket';
    }
    add_filter( 'wpbf_woo_menu_item_label', 'wpbf_woo_custom_menu_item_label' );

    Is that what you’re looking for? 🙂

    Please let me know if you have any further questions.

    Best,
    David

    Thanks David.

    Why the theme won’t get the translated string like all other themes?

    Also, I need to translate all other texts on the dropdown cart of the theme:

    Product/s
    Quantity
    Cart
    Checkout

    Is this on the themes docs? Could not find it.

    Theme Author David Vongries

    (@davidvongries)

    Hi @hcporto,

    Translating WordPress products is more of a community project. The theme can be translated here – https://translate.wordpress.org/projects/wp-themes/page-builder-framework/ while the Premium Add-On can be translated on our website – http://translate.wp-pagebuilderframework.com/.

    The theme is not yet translated into Portuguese, only Portuguese (Brazil).

    You can also use a tool like Loco Translate (https://de.wordpress.org/plugins/loco-translate/) to translate the theme/add-on on your end but make sure to store the translation files outside the theme/plugin because they’d overwise be overriden if we push an update.

    Best,
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.