• We enabled the dialog when there is bundle product in cart and user switch the language. I want to change this english message. I checked the code of the plugin but there is no option to change this message using any hook.

    Can you please help me on this as soon as possible? You can check the scrreenshots as well.

    Popup : https://nimb.ws/qsPHSND

    • This topic was modified 7 months, 4 weeks ago by dhruvsompura.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support diegootgs

    (@diegootgs)

    Hello @dhruvsompura,

    This text is created on app/public/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart-switch-lang-functions.php:

    $confirmation_message = sprintf(
    					/* translators: %s is a language name */
    					__(
    						"You've switched the language and there are items in the cart. If you keep the %s language, the cart will be emptied and you will have to add the items again to the cart.",
    						'woocommerce-multilingual'
    					),
    					$active_languages[ $this->lang_to ]['translated_name']
    				);

    Are you using WPML? If so, could you please try to translate this string using WPML string translator?

    Thread Starter dhruvsompura

    (@dhruvsompura)

    Hello @diegootgs,

    Thank you for the reply. We already updated french language message. But we want to change this english message.

    Can you please let me know how to change that message?

    Plugin Support diegootgs

    (@diegootgs)

    @dhruvsompura, it will depends on which multilingual plugin are you using.

    if you are using WPML, please open a new supporter request in our support forum, our team will help you: https://wpml.org/forums/forum/english-support/

    If you are using another multilingual plugin, you will need to contact the plugin support to see how it can be translated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to update the lang switcher english confirmation message.’ is closed to new replies.