 vladimirM-19
|
Background of the issue:
I want to translate my site using WPML and I am encountering issues with some articles and elements. The site I need help with is hidden link. There are base64 encoded fields in the document, specifically in the fusion_sharing: description field.
Symptoms:
I am getting an error for some articles and elements when trying to translate my site. It seems to always involve the fusion_sharing: description field.
Questions:
How can I resolve the error related to base64 encoded fields in the fusion_sharing: description?
Is there a specific way to handle base64 encoded fields in WPML?
|
 Bigul
|
Hello,
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
This may be related to the following. Normally we can resolve this bug by adding the WPML language configuration for the Page builder (Avada) Element having the issue.
https://wpml.org/forums/topic/adding-base64-encoded-fields-to-xml-does-not-resolve/#post-14696499
Therefore please share the exact name of the Avada Element/Widget having the issue. Please refer to the following documentation for more details.
https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element
https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/
--
Thanks!
Bigul
|
 vladimirM-19
|
Hi Bogul, I tried
<wpml-config>
<shortcodes>
<shortcode>
<tag encoding="base64">fusion_code</tag>
</shortcode>
</shortcodes>
</wpml-config>
Also tried
<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute encoding="base64">content</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>
Both did not work
|
 vladimirM-19
|
Also
<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute encoding="base64">description</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>
This is the shortcode in the backend
[fusion_sharing tagline="Like It, Share It..." tagline_color="" backgroundcolor="" title="The Best Hotels near Zagreb Advent & Christmas Market" link="hidden link" description="V2FudCB0byB2aXNpdCBaYWdyZWIgZHVyaW5nIGFkdmVudCBhbmQgeW91IGFyZSBsb29raW5nIGZvciB0aGUgYmVzdCBwbGFjZSB0byBzdGF5PyBUaGF0IGlzIGdyZWF0IG5ld3MsIHRvIGhlbHAgeW91IHdlIGdpdmUgeW91IHRoaXMgbGlzdCBvZiB0aGUgQmVzdCBIb3RlbHMgbmVhciBaYWdyZWIgQWR2ZW50ICYgQ2hyaXN0bWFzIE1hcmtldC4K" icons_boxed="yes" icons_boxed_radius="0px" color_type="" icon_colors="" box_colors="" tooltip_placement="" pinterest_image="" pinterest_image_id="" hide_on_mobile="small-visibility,medium-visibility,large-visibility" class="" id="social-share-sidebar" /]
|
 Bigul
|
Hello,
Thank you for the updates. Please share actual content you have added to the Description field of the fusion_sharing Avada Element. This information will help us track the issue.
Additionally, have you updated the original language page after canceling the translation job and placing the following code in WPML>>Settings>>Custom XML Configuration?
<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_sharing</tag>
<attributes>
<attribute>tagline</attribute>
<attribute>title</attribute>
<attribute encoding="base64">description</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>
--
Thanks!
Bigul
|
 vladimirM-19
|
Hi Bodul,
I tried your code, and I still get the same error, I did put it under settings - Custom XML Configuration.
The content which is there is
Want to visit Zagreb during advent and you are looking for the best place to stay? That is great news, to help you we give you this list of the Best Hotels near Zagreb Advent & Christmas Market.
|
 Bigul
|
Hello,
Thank you for the update. This may be a compatibility issue. To debug this further, I have created a test site on our sandbox server (a fresh installation). Please use the following link to access the site's backend:
hidden link
Log in to the sandbox site, install the Avada theme, and create a test page. Afterward, please check whether the issue persists.
Reproducing the issue on a fresh installation will greatly assist us in our testing and speed up the escalation process. It will also allow us to troubleshoot the bug without affecting your live site.
Thank you for your understanding.
--
Thanks!
Bigul
|
 vladimirM-19
|
Hi Bogule,
Before I do this, can I ship that field somehow? so it is not translated?
It is dynamically pulled from the post excerpt, so I am ok to try and skip it.
|
 Bigul
|
Hello,
Thank you for the updates. One request. Could you please share a screencast (screen capture) for the better understanding of the workflow of *fusion_sharing* element. Because this requires further checking. You can share the screencast via Google Drive or Dropbox.
--
Thanks!
Bigul
|