Skip Navigation

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

Problem:
The client is attempting to translate custom field content in a special post type 'Partneri' created with the JetEngine plugin. Although translation for these custom fields is enabled in WPML settings, only the title appears in the Advanced Translation Editor. The client has tried re-saving the posts and ensuring the fields are set to 'Translate' in WPML settings, but the issue persists.
Solution:
First, ensure that the server meets the minimum requirements for running WPML by checking WPML's minimum requirements. Increase the WordPress memory limit to at least 256 MB by adding the following code to the

wp-config.php

file:

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

Place this code just before the comment:

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

If the memory limit is restricted by the hosting provider, contact them to request an increase.
Next, manually check and adjust the translation settings for each custom field in WPML > Settings > Custom Fields Translation. Ensure they are set to 'Translate'.
Due to known integration issues with JetEngine, some fields might not automatically appear in the translation editor. Refer to the JetEngine documentation on how to handle multilingual websites and manually add the data to the translations if necessary.
If these steps do not resolve the issue, we recommend opening a new support ticket. We also 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.

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 6 replies, has 1 voice.

Last updated by Karin Werner Klement 3 days, 16 hours ago.

Assisted by: Prosenjit Barman.

Author Posts
November 22, 2024 at 10:08 pm #16435278

Karin Werner Klement

Background of the issue:
I am trying to translate custom field content in a special post type 'Partneri' created with the JetEngine plugin. I enabled translation for CPT 'Partneri' custom fields in WPML > Settings > Custom Fields Translation. I installed WPML on a site with content in Croatian, and the default language is set to Croatian. The CPTs were created before WPML was installed.

Symptoms:
When trying to translate via the Advanced Translation Editor, I can only translate the Title. I added another custom field in CPT 'Partneri', it showed in Settings but didn't show in translation. I tried saving all CPT posts again as suggested in a support ticket, but it didn't make any difference.

Questions:
Is the issue I'm experiencing related to the integration issues mentioned in the documentation?
Is there something else that can be fixed to allow translation of all custom fields?

November 23, 2024 at 12:57 am #16435520

Andreas W.
Supporter

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

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

Hi,

It seems that the minimum requirements are not met on the server:
https://wpml.org/en/home/minimum-requirements/

Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.

Your current values ​​are:

PHP MemoryLimit 1G

WP Memory Limit 40M

You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.

Add this code to the wp-config.php file to increase WordPress memory:

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

Add this just before this comment:

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

The current values ​​can be viewed under WPML > Support > WordPress.

These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.

Finally, please edit the fields on the original post, then save the post and open the WPML Translation Editor.

If this did not solve the issue, please let us know.

Best regards
Andreas

November 23, 2024 at 5:25 pm #16436307

Karin Werner Klement

I did that. Increased memory is seen in WPML > Support > WP, I did everything you suggested but the problem still persists

Best regards
Karin

November 25, 2024 at 10:09 am #16438892

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Karin!

I hope you're doing well. I understand the issue you're having and will try my best to assist you in this matter.

To translate the data entered into a custom field, it’s important to ensure that the translation preference for the custom field is set correctly. Could you please double-check and confirm that the translation preference for the field you're trying to translate is set to "Translate"?

If it is, please provide a screenshot of the field and let me know how the field is added to the CPT. I'll review the details and assist you further in resolving the issue.

Looking forward to your response and appreciate your cooperation in this matter.

Best regards,
Prosenjit

November 25, 2024 at 3:31 pm #16440824

Karin Werner Klement

I double-checked and the field is set to Translate in WPML Settings. I am sending you screenshot.
CPT is created with JetEngine plugin so the fields are added wit JetEngine also. I am sending that screenshot also, where you can see that post type "Partners" has 2 meta fields logo and link. Only title is seen in Advanced Translation Editor (see 3rd screenshot).
Best regards
Karin

2024-11-25 16_17_18-Settings ‹ Dani hrvatskih luka — WordPress.png
2024-11-25 16_18_38-Post Types ‹ Dani hrvatskih luka — WordPress.png
2024-11-25 16_30_39-.png
November 26, 2024 at 5:10 am #16442480

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Karin,
Thank you for sharing more details.

I see that you've added two meta fields: one is a Media field and the other is a Text field. Please note that the Media field data will not appear in the Translation Editor, as it can only translate textual content. However, the contents of the Text field should appear correctly in the Translation Editor.

But, as mentioned in the official JetEngine hidden link">documentation:

> Due to integration issues, some custom fields may not be picked up by the WPML translation editor. Check the second-language site version on the front end, and if you detect an issue, fix it manually by following these steps.

It seems that the issue you're encountering might be related to this. You may need to manually add the data to the translation to display the translated content on the front end. Could you please try that way and check how it goes?

Let me know the update. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 26, 2024 at 11:46 am #16444449

Karin Werner Klement

Yes I read that part of JetEngine documentation and I already tried the solution. I can translate everything that way, just need to be careful not to open Advance Media Translation after, as this will erase changes I made to translated page.

If that is the only solution for the moment I'll have to be careful and do as advised.

You can resolve my issue.