• Resolved softcubehk

    (@softcubehk)


    Hello everyone,

    I am currently facing an issue with the TranslatePress plugin on my website. Recently, after transitioning from an intranet to the internet, I have encountered difficulties with the translation functionality.

    Specifically, when I access “?trp-edit-translation=true,” the page incessantly loads with the spinning circle, making it impossible to proceed with the translation process. As a result, I am unable to translate content on my website effectively.

    I kindly request your assistance in resolving this issue. Any guidance or solutions would be greatly appreciated. Thank you all in advance for your help.

    Video capture for reference:
    https://youtu.be/XkzW6m2cU_8

    Loading will be infinite and happen on any page, not just the homepage.

    Best regards

Viewing 1 replies (of 1 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @softcubehk,

    There are a number of things that can cause a white page when opening the translation interface.

    1. CSP Error -> ALWAYS CHECK FOR THIS FIRST
      To verify this open the developer console and look for a CSP error in red (console tab).

    To fix, try to install Really Simple SSL.

    1. JavaScript error caused by minification and merging of javascript files in plugin such as WP-Optimize.
      There is an option in the plugin to exclude specific javascript so they will be ignored.

    These JS files are used only in Translation Editor, so you can definitely skip any optimization on them
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-editor.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-string-translation-editor.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-iframe-preview-script.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-editor-overlay.js

    These scripts appear for visitors too. You can skip optimization for them if you notice JS errors or misbehaviour regarding WooCommerce cart not being translated or other JS added text not being translated.
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-translate-dom-changes.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-frontend-compatibility.js

    If the JS error encountered is not due to minification please send me the error displayed in your browser console.

    1. PHP Error -> Enable WP_DEBUG, see what the error is in your wp-content/debug.log .

    Common problems:
    PHP Memory Limit Reached -> needs to be increased
    PHP Fatal error: Call to undefined function mb_http_output() -> the server needs to have the Multibyte String PHP library installed: https://php.net/manual/en/book.mbstring.php

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