Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing issues with custom fields not displaying after making changes to their PODS, and an image field not displaying in other languages. Additionally, Elementor templates were not detecting the PODS in the display conditions.

Solution:
We informed the client that the PODS plugin is not yet recommended by WPML and provided links to our recommended plugins for custom post types and custom fields:

We also mentioned that WPML offers a free version of Toolset Types and a compatibility addon for ACF, which could be used as alternatives to PODS.

If the provided solutions do not resolve the issues, or if they are outdated or not applicable to the client's case, we recommend opening a new support ticket. We highly suggest checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. For further assistance, please contact us on the 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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Andreas W. 1 year, 6 months ago.

Assisted by: Andreas W..

Author Posts
February 13, 2024 at 12:42 pm #15297564

Cadcom

Hello,

I have translated my site with WPML in two languages. My site contains custom fields almost everywhere. I use the Pods Custom Content Types and Fields plugin.

After translating my site, I realised that my custom fields were not intuitive. So I wanted to change them. However, as soon as I intervene in one of my pods (whether to modify, delete or add), all my translated custom fields are no longer displayed.

What's more, I've noticed that the image field isn't displayed in the other languages even before I do anything on my pods.

Can you help?

Thank you

February 14, 2024 at 12:31 pm #15302083

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

If you edited the original fields, then you would need to update the translations.

In case you edited the fields directly in PODS, you would further first need to edit and update the original contents that use those fields and then apply the translation again.

Please give this a test.

About the image:

Are you referring to featured images or images inside the content? If the images are created inside the content, please let me know how they were created.

Did you try running WPML > Settings > Media Translation > Start?

Best regards
Andreas

February 14, 2024 at 1:13 pm #15302449

Cadcom

Hello,

Thank you for your feedback.

"In case you edited the fields directly in PODS, you would further first need to edit and update the original contents that use those fields and then apply the translation again."
> This doesn't work. For example, I tried this on the restaurant opening hours in the footer of my site. I've even permanently deleted the French and English translations (in the bin) and restarted the translations but nothing is displayed...

As for the image, it's a pod, a custom field of type image > single file. I'm not looking to have different images depending on the translation or to translate them, so I don't understand the point of installing WPML Media Translation. I've tried to install it anyway but it doesn't change anything.

Please note that all my podcasts are displayed correctly in the original language.

Thank you

Capture d'écran 2024-02-14 140747.png
Capture d'écran 2024-02-14 140902.png
February 14, 2024 at 3:43 pm #15303358

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Could you please increase your WP Memory limit to 256M? 128M is the minimum required by WPML.
Your current values are:

PHP Memory Limit 1024M
WP Memory Limit 40M
Add this code to your wp-config.php to increase WP memory:

define('WP_MEMORY_LIMIT', '256M');

Paste it just before:

/ That's all, stop editing! Happy blogging. /

Now, verify the current settings at WPML > Support > WordPress. Then complete the translation again.

These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly.
If you can get even higher values It would be great.

https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, which means, with a default theme and no other plugins installed.

If this will still not solve the issue, please let me know.

February 15, 2024 at 10:59 am #15306469

Cadcom

Hello,

I've increased my site's memory. Unfortunately, it still doesn't work.

Capture d'écran 2024-02-15 115849.png
February 15, 2024 at 2:37 pm #15307762

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

February 20, 2024 at 11:04 am #15322087

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Take kindly note, that the PODS plugin is not yet recommended by us:

https://wpml.org/plugin-functionality/custom-post-types-taxonomy/

https://wpml.org/plugin-functionality/custom-fields/

Also, take note that WPML comes with a free version of Toolset Types which allows you to do the same things as PODS and we also have a compatilbity addon for ACF.

We started tests with the plugin 4 months ago and contacted the author about a month ago to achieve full compatibility with WPML. For now, we are waiting for the author's cooperation on this matter.

Also, I can confirm that we had already various internal escalations regarding Pods and their ability to be translatable with the WPML Translation Editor in the past. Somehow there seem to be quite many issues when trying to translate Pods CPTs and Custom Fields with the WPML Translation Editor and our team is trying to solve those issues currently together with the author of Pods.

A workaround in almost all cases was to use the WordPress Editor for creating the translations:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Would this currently be an alternative for you?

February 21, 2024 at 1:09 pm #15328125

Cadcom

Hello,

Unfortunately, the solution doesn't solve my problem because it's my Elementor templates that don't detect the pods in the display conditions and the custom fields for each key.

Capture d'écran 2024-02-21 140825.png
Capture d'écran 2024-02-21 140813.png
February 21, 2024 at 3:45 pm #15329240

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Regarding this please go to WPML > Settings > Custom Field Translation and click "Show system fields" right beneath the section title.

Then search for the field "_elementor_conditions" and set it to "Copy".

For the display condition to be copied over to translated templates you will now need to apply the translations for existing templates again.

If this will still not solve the issue, then this might be a compatibility issue between Pods, Elementor PRO, and WPML.

I can offer in this case to provide a WPML test site on which we can try together to recreate the issue. If we can recreate it, then I can escalate the issue to our compatibility team.

February 23, 2024 at 7:42 am #15336188

Cadcom

Hello,

Thanks for your feedback but it's still not working. In order to meet my production deadline for this site, I have chosen to restart my custom fields with the ACF plugin.

Thanks for your help

February 23, 2024 at 5:47 pm #15338907

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please make sure to install our Addon "Advanced Custom Fields Multilingual" and read this documentation:

https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

If you need any assistance I will be glad to help.