Open
Reported for: WPML Multilingual CMS 4.6.9
Overview of the issue
If you use the Edit Translations link on the front-end for translating your content with the Advanced Translation Editor (ATE), translations may not complete and remain stuck. Additionally, you will see an error like the following:
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- You should manage and complete translation jobs through the backend interface to ensure proper completion and synchronization from WPML > Translations dashboard.
Or:
- Open …/wp-content/plugins/sitepress-multilingual-cms/classes/filters/class-wpml-tm-translation-status-display.php file.
- Look for line 431.
- Replace:
if ( ! isset( $_SERVER['HTTP_REFERER'] ) ) { return null; } $url = remove_query_arg( $args, $_SERVER['HTTP_REFERER'] );
- For:
$url = remove_query_arg( $args, admin_url('admin.php?page='. WPML_TM_FOLDER . '/menu/translations-queue.php') );
Hello, and thanks for your response.
I tried replacing that line of code with what you suggested, and I still had the same issue. So I am going to access the translation editor through the backend only.
Also, in case that line of code worked, wouldn’t that addition/fix be overridden when we update the plugin?
Thank you.
Hello there,
Yes, this fix may be overwritten by an upcoming update. However, our devs are already aware of this issue and it should be solved soon.
We’ll keep this page updated.
Regards