Skip Navigation

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

Problem:
The client wants to automatically translate specific types of posts, such as 'Job Listing' posts, to specific languages like German, using WPML, without manually clicking 'translate'.
Solution:
To set up WPML for automatic translation of specific post types to a selected language, follow these steps:
1. Ensure automatic translation is enabled in WPML -> Settings first section.
2. Activate the 'Pay-as-you-go' configuration or purchase translation credits.
3. Navigate to WPML -> Translation Management, filter by the post type, select the post types in bulk, set all languages to do nothing, and select German to automatically translate. For more details, see the guide at WPML Bulk Auto-Translation Guide.
4. To enable automatic translation without manual intervention:
- Go to WPML -> Settings, activate 'Translate Everything Automatically', and save the changes.
- In the 'Post Type Translation' section, activate/deactivate automatic translation for specific post types.
Important: Create a full backup of your site before making these changes. Ensure that 'Pay-As-You-Go' is not activated during these changes to prevent unwanted site-wide translations.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at 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 3 replies, has 2 voices.

Last updated by Carlos Rojas 7 months ago.

Assisted by: Carlos Rojas.

Author Posts
November 4, 2024 at 1:19 pm #16361186

tonyS-19

Background of the issue:
I would like to automatically translate specific types of posts, such as 'Job Listing' posts, on the website hidden link to specific languages, like DE (hidden link), using WPML. I have many languages on the website, but I want to translate only to a selected language.

Symptoms:
I am unsure how to configure WPML to automatically translate only specific post types and target languages.

Questions:
Is it possible to configure WPML to automatically translate specific post types to a selected language?
How can I set up WPML to automatically translate only to a selected language?

November 4, 2024 at 1:51 pm #16361362

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

Before one of my colleagues gets this ticket assigned I would like to describe a set of steps that will let you automatically translate a post type to a specific language:
- First, you will need to have the automatic translation enabled in WPML -> Settings first section
- Then you must have activated the Pay-as-you-go configuration or have bought translation credits
- Once the above is correct then go to WPML -> Translation Management -> Filter by the post type -> Select the post types in bulk and then in the options that appear under the table set all languages to do nothing, and select German to automatically translate as described in this guide: https://wpml.org/changelog/2023/03/wpml-4-6-bulk-auto-translation-language-switcher-block-translation-mode-improvements/

If you still need assistance, please describe the results of the steps described above and one of my colleagues will continue with this ticket.

November 7, 2024 at 10:57 am #16376522

tonyS-19

Hello,
Thank you for answer.

Ok, I understand. However, I have a question - is it possible to translate specific types of posts without my intervention? Without clicking "translate"? Can we translate all posts of type "job_offers" automatically? Maybe using a cron job?

Best regards
Jakub

November 7, 2024 at 12:07 pm #16376963

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hi Jakub,

Yes, there is a way to allow WPML to automatically translate only 'job_offers' without your intervention. Please follow these steps:
- Go to WPML -> Settings -> First section
- Activate 'Translate Everything Automatically' option -> Save the changes
- Scroll down to the 'Post Type Translation' section where you will see a new column in the right where you can activate/deactivate the automatic translation based on post types -> Save the changes

Important note: Please create a full backup of the site before making these changes and make sure to not having activated Pay-As-You-Go when making these changes because it is possible that the entire content of the site start to be automatically translated.