Skip Navigation

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.

This topic contains 7 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 11 months ago.

Assisted by: Nicolas V..

Author Posts
June 6, 2023 at 8:34 am #13775915

wilbertS-2

I have created a custom post type with pods. Thi spod ahas an field which is a gallery of photos. This field doesnot need to translate, but it is totally skipped on my translated page?
How to solve?

June 6, 2023 at 11:48 pm #13781681

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

Welcome to the WPML support forum. Let's start by meeting WPML's minimum requirements. I've noticed your website has a low PHP memory allocation (40M). The minimum requirements for WPML is 128M but we recommend 256M:

Access your server via FTP and open wp-config.php (in your WordPress root directory).

Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

More info: https://wpml.org/home/minimum-requirements/

---

Regarding your question, I'm not familiar with Pods but let's try this first solution:
- Go to "WPML > Settings > Custom Fields Translation"
- Check the box "Show "Multilingual Content Setup" meta box on post edit screen." and click on "Save" below the table
- Edit one of your post from this custom post type and scroll down to the bottom, you should see the custom fields used by that post, click on "Show system fields"
- Find the field and set the translation preference to "COPY"
- Make a small edit on that post (like adding a space in the title) and save it
- Enter the translation and re-validate it

Please let me know if this solution works for you.

June 7, 2023 at 6:25 am #13782079

wilbertS-2

Re memory
If i check the php memory limit on the site diagnose, it says 256M, also in my php settings on my plesk server it says 256M.
Where did you find the 40M memory limit? And why is my systme telling something different?

Re custom field.
That did the trick, thaks.

June 7, 2023 at 3:51 pm #13788031

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi,

I'm glad that we solve the custom field issue.

Regarding the memory there is 2 different parameters WP_MEMORY_LIMIT with is at 40M and WP_MAX_MEMORY_LIMIT which is at 256M.

You can see that information yourself in "WPML > Support > WordPress (table)"

June 8, 2023 at 6:23 am #13790211

wilbertS-2

Sorry i need to understand. As i always thought my site has memory limit of 256m. You are saying there is a limit in php , but also a setting in wordpress somehow? I never know. Where am i able to change the memory limit of WordPress (from 40 to 256)? Is this some setting?

June 8, 2023 at 2:48 pm #13793979

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

I gave you the instructions in my previous answer:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

After that you can go back to "WPML > Support > WordPress (table)" to see the change.

PS: Note that our minimum requirement is 128M but we recommend 256M because popular and powerful plugins such as page builders, WooCommerce, SEO plugins etc... usually require 256M.

June 9, 2023 at 11:23 am #13799171

wilbertS-2

Yes i know. But i like to understand.
WordPRess is always on 40Mb memory by default and you have to change this manualay by adding this line of code in wpconfig?

June 9, 2023 at 3:28 pm #13800797

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi,

I'm not sure it's always 40M but yes, one way to increase it is by editing your wp-config.php file.

Look at WooCommerce documentation, they offer 3 different ways but wp-config.php is usually the method we use and recommend: https://woocommerce.com/document/increasing-the-wordpress-memory-limit/