This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the gear icon keeps spinning indefinitely after clicking 'complete translation' in WPML's Advanced Translation Editor. Additionally, the client faces difficulties with shortcode translations not being recognized even after adding custom XML configurations. Solution: 1. For the spinning gear icon issue, increasing the memory limit in the
config.php
file and adjusting the
MaxInputVars
settings resolved the problem. 2. Regarding the shortcode translation issue, the client should navigate to WPML --> Settings --> Custom XML Configuration to add the necessary XML code. After adding the code, update the original page to see if the changes take effect.
If these steps do not resolve your issues or if the solution seems outdated, we recommend opening a new support ticket. Additionally, please check the related known issues and ensure you have the latest versions of themes and plugins installed. For further assistance, you can also visit our support forum.
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.
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?
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
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.
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:
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.
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>
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+02:00)
Hi there!
This is Paola and I will continue with the ticket.
In order to add the xml code please go to WPML --> Settings --> Custom XML Configuration.
Then go to the original page and click on update.
Then let me know if appears.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.