Skip to content Skip to sidebar

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

Problem:
The client is using WPML's automatic translation feature for their website, where new content created in Dutch (default language) is automatically translated into German, English, and French. However, when requests are submitted in a language other than Dutch, they are not automatically translated into the other active languages.
Solution:
Currently, WPML does not support automatic translation from non-default languages. The client can manually send these posts for translation via the WPML > Translation Dashboard by filtering the posts and selecting them for translation. For a more automated approach, it might be possible to develop a custom script that programmatically sends posts to the WPML Translation Queue. This would involve using the

wpml_after_save_post

action, which is triggered by the

sendToTranslation

function in WPML. However, this function is restricted to operate only when saving posts in the default language, and modifying this behavior would require changes to the plugin's internal code.

If this solution does not fully address your needs or seems outdated, 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. For further assistance, please visit our support forum 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 2 replies, has 0 voices.

Last updated by Dražen 2 weeks, 1 day ago.

Assisted by: Dražen.

Author Posts
September 15, 2025 at 10:23 am #17401491

daanK-9

Background of the issue:
I am using the WPML automatic translation feature on my website hidden link. New content created in Dutch, our default language, is automatically translated into German, English, and French. Users submit requests through a Gravity Forms form, which are published as custom posts of type 'aanvraag'.

Symptoms:
When requests are submitted in a language other than Dutch, they are not automatically translated into the other active languages.

Questions:
How can I configure WPML to automatically translate new content submitted in a non-default language into the other active languages?

September 15, 2025 at 10:59 am #17401747

Dražen
Supporter

Languages: English (English )

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

Hello,

I will update here when I have more news.

Kind regards,
Drazen

September 25, 2025 at 9:11 am #17431519

Dražen
Supporter

Languages: English (English )

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

Hello,

Apologies for the delay.

After further review, here are our findings:

The code that manages automatic translation for new posts is located at:
/sitepress-multilingual-cms/classes/automatic-translation/Actions.php

This runs a function called sendToTranslation, which is hooked to the wpml_after_save_post action. However, the code is explicitly restricted to working only when saving posts in the default language. To support other cases, the logic would need to be rewritten. This is something our development team would need to handle—modifying the plugin’s internal code, we will discuss internally and try to consider this as a feature request for future versions.

We also explored the code that runs when posts are manually sent for automatic translation from the Translation Dashboard, but there’s no straightforward way to hook into that process and extend it for custom use.

Hope this helps.

Kind regards,
Drazen