[Resolved] WPML cannot send some of the content to translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to send a Global Header with base64 encoded fields for translation using WPML. Attempts to configure custom XML to handle the encoding were unsuccessful, resulting in errors and the removal of content from the translation job. Solution: We recommended updating the XML configuration in WPML settings to properly handle base64 encoded fields. Here is the correct XML configuration:
This configuration should be added under WPML->Settings->Custom XML Configuration. Additionally, we provided links to relevant documentation and known issues:
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML 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 send a Section (Global Header) to Translation on my site hidden link using WPML.
Global Header: There are base64 encoded fields in this document
Image: Dynamic Params: eyJhbHQiOnsiZGF0YSI6InNpdGVfdGl0bGUiLCJhbHQiOiIiLCJiZWZvcmUiOiIiLCJhZnRlciI6IiIsImZhbGxiYWNrIjoiIn0sImxpbmsiOnsiZGF0YSI6InNpdGVfdXJsIiwibGluayI6IiIsImNvbG9yIjoidmFyKC0tYXdiLWNvbG9yMSkiLCJodWUiOiIiLCJzYXR1cmF0aW9uIjoiIiwibGlnaHRuZXNzIjoiIiwiYWxwaGEiOiIiLCJiZWZvcmUiOiIiLCJhZnRlciI6IiIsImZhbGxiYWNrIjoiIn19
To fix this problem, you need to tell WPML how these fields are encoded, so that WPML can decode them before sending for translation.
Custom XML configuration didn-t work
Symptoms:
Some of the content that I selected for translation includes fields that are encoded. Translators will not be able to work on this kind of content, so it was removed from the job.
Questions:
Why is some of the content encoded and removed from the translation job?
How can I ensure all content is sent for translation without being removed?
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
The first XML is added due to a known issue with Avada just in case it's needed, and the second is the one that is directly related to the Image element.
Here is also a link to our documentation on how to create XML configurations for Avada
I have tested this and was able to add the job to the basket.