• 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 5 replies - 1 through 5 (of 5 total)
  • 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 years, 4 months 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 [email protected] if you are still facing and issue ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translating the pop-up form’ is closed to new replies.