Support » Plugin: Product Enquiry for WooCommerce » Translating the pop-up form

  • Resolved markuskosonen

    (@markuskosonen)


    Even I have tranlated the plugin string with Loco Translate, the pop-up field still remain in english. Is there a way to translate these?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WisdmLabs

    (@wisdmlabs)

    Hey @markuskosonen

    Could you please raise a support ticket with your site URL and WP-admin credentials at helpdesk@wisdmlabs.com so that our development team can take a look at the issue and get it resolved for you immediately.

    Hello, Did you manage to translate it? πŸ™

    Thread Starter markuskosonen

    (@markuskosonen)

    I had to troubleshoot this quickly, so I translated it by modifying the plugin file product-enquiry-for-woocommerce/templates/enquiry-form.php. So, yes – kind of. This would’t work with multilingual site, though.

    Plugin Author WisdmLabs

    (@wisdmlabs)

    Hey @markuskosonen and @peva92

    This is a bug in the plugin and we will be releasing a fix this week πŸ™‚

    Until we release the fix please replace the following line in the file /product-enquiry-for-woocommerce/includes/class-product-enquiry-for-woocommerce.php:

    load_plugin_textdomain( 'product-enquiry-for-woocommerce', false, WDM_PE_PLUGIN_PATH . '/languages/' );

    with

    load_plugin_textdomain( 'product-enquiry-for-woocommerce', false, dirname( WDM_PE_PLUGIN_BASENAME ) . '/languages' );

    Also, add the following code in the file /product-enquiry-for-woocommerce/product-enquiry-for-woocommerce.php just after the code

    define( 'WDM_PE_PLUGIN', __FILE__ ); at line 25:

    define( ‘WDM_PE_PLUGIN_BASENAME’, plugin_basename( __FILE__ ) );

    Please test this at your end and let us know if the issue is resolved for you πŸ™‚

    • This reply was modified 4 months, 1 week ago by WisdmLabs.
    Plugin Author WisdmLabs

    (@wisdmlabs)

    Hey @markuskosonen

    I just wanted to follow up on my previous comment, please let us know if you are still facing issues regarding translations. We are more than happy to help πŸ™‚

    Plugin Author WisdmLabs

    (@wisdmlabs)

    Hey @markuskosonen

    We will be closing this ticket for now.
    Please contact us at helpdesk@wisdmlabs.com if you are still facing and issue πŸ™‚

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