WPML compatibility issue

Posted in: Newspaper
Post count: 40

I am using Newspaper theme and WPML, which are promised to be compatible.

I was successfully using them at my other site, which is in production for more than one year.
But with another site I really face a lot of problems with the below error. I faced the same error before with templates. And I face it now with pages.

So, my question is who’s problem is that? WPML or Newspaper Theme? Or aren’t they compatible any more?

The description of the problem:

When I try to translate a page, it just stucks on the page https://e.ate.wpml.org/…
So, I am trying to add the page to the translation queue manually. And then I get the below enclosed error message.

Indeed, I see that WPML has some base64 encoded content. Is there any way to avoid it and save without base64 encoding? Is there anything I shall do to make the Newspaper Theme be compatible with WPML?

Please see this video for details:
https://www.loom.com/share/1a6c2bc0e5784c12b92bc6483230ca1e?sid=e9fe9b8a-fcab-4076-b20f-333c3613659e

But the time of errors seems to not coincide with my actions.

The full error text is the following:

WPML cannot send some of the content to translation
Some of the content that you selected for translation includes fields that are encoded. Translators will not be able to work on this kind of content, so we removed it from the job.

Наши контакты: There are base64 encoded fields in this document
vc_raw_html: content: JTNDaWZyYW1lJTIwc3JjJTNEJTIyaHR0cHMlM0ElMkYlMkZ3d3cuZ29vZ2xlLmNvbSUyRm1hcHMlMkZlbWJlZCUzRnBiJTNEITFtMTghMW0xMiExbTMhMWQ4MTYuNDI5OTQ2Nzc2ODU2ITJkMzAuNDc5NjU0ODI0NjczNTUhM2Q1MC4zOTEwODE5ODYxMjg5OTUhMm0zITFmMCEyZjAhM2YwITNtMiExaTEwMjQhMmk3NjghNGYxMy4xITNtMyExbTIhMXMweDAlMjUzQTB4Y2UxYzZjMmYxMWQ3NmMxYiEyek5URENzREl6SnpJM0xqa2lUaUF6TU1Ld01qZ25ORGt1TUNKRiE1ZTEhM20yITFzZW4hMnN0ciE0djE2NzM5NDUxMDE1NjYhNW0yITFzZW4hMnN0ciUyMiUyMHdpZHRoJTNEJTIyMTAwJTI1JTIyJTIwaGVpZ2h0JTNEJTIyNDUwJTIyJTIwc3R5bGUlM0QlMjJib3JkZXIlM0EwJTNCJTIyJTIwYWxsb3dmdWxsc2NyZWVuJTNEJTIyJTIyJTIwbG9hZGluZyUzRCUyMmxhenklMjIlMjByZWZlcnJlcnBvbGljeSUzRCUyMm5vLXJlZmVycmVyLXdoZW4tZG93bmdyYWRlJTIyJTNFJTNDJTJGaWZyYW1lJTNF
To fix this problem, you need to tell WPML how these fields are encoded, so that WPML can decode them before sending for translation.

How to indicate to WPML that it needs to decode fields.

Post count: 40

I want to mention that I have added base64 to the XML configuration file as per below code. But it did not help. The same error appears with reference to the same tag and attribute (vc_raw_html: content:).

<tag>vc_raw_html</tag>
<attributes>
<attribute encoding="base64">content</attribute>
</attributes>

I read about how to correct it here:
https://wpml.org/documentation/translating-your-contents/page-builders/how-to-fix-encoding-of-fields/?utm_source=plugin&utm_medium=gui&utm_campaign=wpmltm

Post count: 27744

Hello,

Please use the classic editor https://prnt.sc/B9g0SeFDbVq4 -> https://prnt.sc/tlp-xNJLzX75
-> https://prnt.sc/B5VnNgXWmTAI and check after.

Thank you!

Post count: 40

Thanks, that worked.

Post count: 27744

Hi,

I’m glad.

Have a great day!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.