Mailchimp Banner | Q2 2024

added by Latoya

Product Icon

Request a Quote for WooCommerce

Allow your customers to add product(s) to quote basket and ask for price estimation by submitting a customizable quote form.

Can’t translate string when adding products to quote

The notification that appears in the product page when I add a product to a quote can’t be translated. The String appears ready for translation but when I translate nothing happens.

Screenshots

Author

hugos2a8250a41b

Current Status

Open

Last updated: January 31, 2023

2 comments

Log in to comment on this feature request.

  1. darjanzlobec says:

    Errm 😀 My bad…

    It seemd that the settings in LocoTranslate were to blame. The largest PHP file that the plugin can scan was set for me at 100kb. And some files were ommited when updating the pot file after update.

    It seems to work now in the 2.6. version. Please disregard my previous comment 😀

  2. darjanzlobec says:

    This is still not working in the 2.6 version of the plugin. The error is in the file: woocommerce-request-a-quote/includes/class-af-r-f-q-ajax-controller.php

    wc_add_notice( sprintf( __( ‘“%1$s” has been added to your quote. %2$s’, ‘addify_rfq’ ), $product_name, wp_kses_post( $button ) ), ‘success’ );

    The string: “%1$s” has been added to your quote. %2$s
    It’s not added to the pot file and thus not able to translate it via other languages.