Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 2 voices.

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

Assisted by: Andreas W..

Author Posts
October 17, 2023 at 6:51 pm #14597319

johanv-16

Tell us what you are trying to do?
- Automatically translate custom post type Listing from theme

Is there any documentation that you are following?
- no

Is there a similar example that we can see?
- no

What is the link to your site?
hidden link

2023-10-17_13-50-22.jpg
October 18, 2023 at 3:19 am #14598823

Andreas W.
WPML Supporter since 12/2018

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

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

Hello,

First, please change the WP MEMORY LIMIT to 256M.

Your current values are:

PHP Memory Limit 3072M
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.

Source: https://wpml.org/home/minimum-requirements/

---

Now, please go to WPML > Settings > Post Type Translation and enable "Listings" that this post type should get translated automatically.

Now, for content that already was created before enabling this option, you will need to go to WPML > Translation Management > Dashboard, filter for Listings, and send them all to automatic translation.

As an alternative, you can go WPML > Settings, change to the "Translate what you choose option" and save, and then enable the "Translate everything automatically" option again.

I dialog should open that will ask you if you now want to translate all the untranslated contents automatically.

Please let me know, in case that this does not work as expected.

Best regards
Andreas

The topic ‘[Closed] Automatically translate custom post type Listing from theme’ is closed to new replies.