• Resolved andreasn2023

    (@andreasn2023)


    I have an issue with translation of the order summary page using NP Request for Quote.

    Plugin works well with Polylang PRO and Polylang for WooCommerce along with Elementor PRO. No complaints per say. BUT I have one problem with not being able to translate the order summary page to other languages.

    The translations of the order summary page has been created and linked correctly in the backend.
    The language switcher works on all pages except the order summary page.

    The order summary page is generated when an order is placed
    Example URL

    /en/order-summary/order-recieved/11346/?key=wc_order_DSyXwinwbooqJ

    However, language switcher doesn’t work and manually forcing the URL like this simply crashes the site:
    /fr/order-summary/order-recieved/11346/?key=wc_order_DSyXwinwbooqJ
    /de/order-summary/order-recieved/11346/?key=wc_order_DSyXwinwbooqJ

    I have tried naming the translated URLs as something different or call them all /order-summary/ but to no avail. If I force the URL it crashes or else it will always show the English translation.

    This is the fatal error I get when I try to force the URL

    Fatal error: Uncaught Error: Path cannot be empty
    in /var/www/html/mse-sas-dev/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 53

    Call stack:

    1. wc_template_redirect()
      wp-includes/class-wp-hook.php:324
    2. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    3. WP_Hook::do_action()
      wp-includes/plugin.php:517
    4. do_action()
      wp-includes/template-loader.php:13
    5. require_once()
      wp-blog-header.php:19
    6. require()
      index.php:17



    It is annyoing, as it is the only page that is not translateable for some reason.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Neah Plugins

    (@gplsaver)

    Does the conflict end , if you deactivate the NP quote plugin?

    Thread Starter andreasn2023

    (@andreasn2023)

    Good point. Really silly of me not to test that out first. Sorry for that.

    Just tested it out by disabling NP Quote, and it is not your plugin, as the same error persists. Seems to be an error with WooCommerce/Polylang Pro.

    Will dig deeper into the issue.

    Thread Starter andreasn2023

    (@andreasn2023)

    For anyone running into the same issue, this was an issue with Polylang/WooCommerce. Contacted Polylang support and turned out I needed to upload a wpml-config.xml file to /wp-content/polylang (new folder)

    After uploading the file, I could filter the Polylang group in String Translations, where I saw my order summary page with the EN summary page ID entered for EN, FR, and DE (instead of being unique IDs)
    After updating the page ID for the correct translated page in FR and DE, the translations started working again.

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