Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.

This topic contains 4 replies, has 1 voice.

Last updated by gerbenD-6 18 hours, 10 minutes ago.

Author Posts
April 2, 2025 at 3:47 pm #16887907

gerbenD-6

Background of the issue:
I am trying to translate pages in English and German using WPML's Advanced Translation Editor (ATE) on my site hidden link. I follow the process by clicking on the gear icons in the pages overview, checking the values, and clicking on 'complete translation'.

Symptoms:
The gear icon changes to a renew icon, but it keeps spinning forever. I have to make a copy of the page, then do it to the copies, and it sometimes works. I then have to remove the original page and replace it with the right one. It is complicated and not workable.

Questions:
Why does the gear icon keep spinning forever after I click 'complete translation'?
How can I resolve the issue of having to make copies of pages to complete translations?

April 3, 2025 at 8:22 am #16890364

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

ello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

Does it happen with multiple posts/pages translation? Please visit WPML>>Support>>Advanced Translation Editor>>Error Logs and check if you are getting any recent warnings or errors.

I have a request. Please upgrade the following configurations for better performance of the site.

1) Increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

--
Thanks!

Bigul

April 3, 2025 at 9:45 am #16891060

gerbenD-6

Bigul,

The memory I could allocate, but the InputVars I need my ISP for.
In the mean time I am trying to fix an issue with my theme Enfold. In enfold I use a shortcode of WP Booking Calendar. This booking calendar is not WPML proof. So I have to make the shortcode visible in WPML.

I am in contact with Enfold devs and they asked me to relay this to you:

We would like to try to override the WPML > Settings (https://wpml.org/documentation/support/language-configuration-files/overriding-language-configuration-files/), but a script error prevents us from saving the changes. This is the error:

----

Uncaught SyntaxError: Unexpected token '<' (at hidden link)

Line:8

ateDashboard(params);
<pre style="padding:1em; background-color: #f8f8f8; color: #0a001f"><?xml version="1.0" encoding="UTF-8"?>
<shortcodes>
<shortcode>
<tag>av_codeblock</tag>
<attributes>
<attribute>alb_description</attribute>
<attribute>av_uid</attribute>
<attribute>codeblock_type</attribute>

This might also be the reason why the Text Block and other elements are not translatable. Please forward this error to WPML-config.xml file in the child theme folder, then transfer its content into the WPML > Settings > Custom XML Configuration tab.

----

Can you help us with this?

April 3, 2025 at 11:01 am #16891491

gerbenD-6

PS. There are no errors in the log:
Advanced Translation Editor Error Logs

Date Event Description WPML Job ID ATE Job ID Extra data
No entries

April 3, 2025 at 11:20 am #16891609

gerbenD-6

Bigul,

It seems that the memory upgrade in config.php and MaxInputVars did the trick with the translations 🙂 Thanx a lot.

The only issue remaining is the shortcode translation.
This is the shortcode
[wpbs id="1" language="nl" title="no" legend="yes" legend_position="side" display="1" year="0" month="0" language="auto" start="1" dropdown="yes" jump="no" history="1" tooltip="1" highlighttoday="no" weeknumbers="no" show_first_available_date="no" form_id="1" form_position="bottom" auto_pending="yes" selection_type="multiple" selection_style="split" minimum_days="0" maximum_days="0" booking_start_day="0" booking_end_day="0" show_date_selection="no"]

Adding the code below to the wpml-config.xml file in the child-theme did not do the trick.
<wpml-config>
<shortcodes>
<shortcode>
<tag>wpbs</tag>
<attributes>
<attribute>id</attribute>
<attribute>language</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>