Skip Navigation

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

Problem:
The client was experiencing an issue where scheduled posts were being published in all the languages they translate to (Spanish, German, and Portuguese), but only the title was getting translated.

Solution:
the issue has been permanently fixed in WPML version 4.6.10, so after updating to this version, no further action should be necessary.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If you're experiencing similar issues, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 14 replies, has 4 voices.

Last updated by Alejandro 10 months, 3 weeks ago.

Assisted by: Alejandro.

Author Posts
January 4, 2024 at 11:37 am #15150337

lucaD-42

This is the continuation of the issue that has been closed
https://wpml.org/forums/topic/automatic-translation-publish-post-in-original-language/

I finally found the bug, the problem happens when items are scheduled.

Can you find a solution please?

Please read the whole previous tread well so as not to repeat everything, the person who followed me is Andreas.
https://wpml.org/forums/users/andreas-w/

Thanks

Luca

January 4, 2024 at 1:55 pm #15150969

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

Hi there! i'm glad you managed to find where the bug is. now, can you tell me the steps you take to first schedule the post? you can record a quick video and share it with me if it's easier or faster or you can try to recreate the problem on a new installation such as this one:

hidden link

Try to configure WPML with the languages o your site and create + schedule a page/post and see if the problem happens here as well. if it does, please write here the steps so i can then figure out why is it not working and how we can fix it for you.

Thanks.

January 4, 2024 at 4:38 pm #15152431

lucaD-42

Hi Alejandro,

I prefer to make the video on my system, it is the only way to see the bug in the real environment.

You can see how we schedule here:
hidden link

tomorrow the article will not be translated automatically but published with only the tile translated, as you can see from the previous tread. (I attached a previous screenshot).

Tomorrow I will send you the screenshot of the new "non translated article".

Ty
Luca

14871411-Screenshot_2023_11_19_alle_18.13.57.jpg
January 5, 2024 at 8:41 am #15153506

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

I had missed that you were Italian so i'll write in Italian from here onwards in case it's better for you (answer in English if you want to continue in English, instead).

Con questa info è più che sufficente, volevo vedere se facevi qualcosa di particolare ma non è stato il caso.

Sto facendo un test e appena ho i risultati ti risponderò.

January 5, 2024 at 10:07 am #15153779

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

Ho ricreato il problema e l'ho inviato ai nostri sviluppatori per vedere come possiamo risolverlo, non c'è necessità che mi invii altro.

Ti terrò aggiornato.

January 5, 2024 at 10:25 am #15153857

lucaD-42

Grazie Aljandro,

Nel mentre ti mando gli screenshots di oggi che ti fanno vedere come l'articolo presenti il problema quando è schedulato. Il post viene pubblicato in tutte e tre le lingue in cui traduciamo (spagnolo, tedesco e portoghese) ma solo il titolo viene tradotto.

Altra informazione che forse ti è utile : per risolvere il bug devo aprire l'articolo in elementor modificare qualcosa e salvare, fatto questo tutte le traduzioni si "aggiustano".

Un piccolo trick che mi aveva suggerito il tuo collega nell'altro tread.

In attesa ti saluto

Luca

Screenshot 2024-01-05 alle 11.19.11.jpg
Screenshot 2024-01-05 alle 11.19.40.jpg
January 5, 2024 at 2:01 pm #15154908

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

puoi anche farlo da WPML > Translation Management ed inviare la pagina da lí (questo funziona meglio quando ce ne sono tante pagine, così fai solo un'unica operazione). Si ritradurrebbe automaticamente (Senza farti pagare niente) e avresti lo stesso risultato che quando fai qun cambiamento alla pagina e lo salvi (che fa la stessa cosa).

Comunque grazie per queste info che ci hai fornito. è definitivamente un bug e i nostri sviluppatori ci stanno lavorando per vedere come risolvere il problema.

Ti terrò aggiornato.

January 6, 2024 at 10:14 pm #15157026

lucaD-42

Hai qualche notizia?

Grazie e scusa il disturbo

Luca

January 8, 2024 at 10:25 am #15159575

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

Ancora niente ma spero poter avere una risposta entro domani. ti aggiorno appena mi rispondono.

January 14, 2024 at 10:11 am #15182070

lucaD-42

Any news?

January 15, 2024 at 8:29 am #15183540

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

We're almost there, out Devs are still checking the problem out

January 16, 2024 at 1:07 pm #15189868

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Ciao,

Alejandro è in ferie e lo sostituisco io.

Abbiamo un workaround
- apri \sitepress-multilingual-cms\addons\wpml-page-builders\classes\App.php
- alla riga 36 sostituisci

return 	defined( 'WPML_TM_VERSION' )
			          && (
				          is_admin()
				          || ( defined( 'XMLRPC_REQUEST' ) && constant( 'XMLRPC_REQUEST' ) )
				          || wpml_is_rest_request()
			          );

con

return 	defined( 'WPML_TM_VERSION' )
			          && (
				          is_admin()
				          || ( defined( 'XMLRPC_REQUEST' ) && constant( 'XMLRPC_REQUEST' ) )
				          || wpml_is_rest_request()
						  || (defined('DOING_CRON') && DOING_CRON)
			          );

- apri il file \wpml-string-translation\inc\package-translation\inc\wpml-package-translation.class.php
- alla riga 41 sostituisci

if ( is_admin() || $this->is_doing_xmlrpc() || wpml_is_rest_request() ) {

con

if ( is_admin() || $this->is_doing_xmlrpc() || wpml_is_rest_request() || (defined('DOING_CRON') && DOING_CRON) ) {

e dovresti risolvere.

Cercheremo di inserire il fix nella prossima versione di WPML.

January 17, 2024 at 4:35 pm #15196092

Pieter

Thanks for the temporary workaround!

> Cercheremo di inserire il fix nella prossima versione di WPML.

Since 4.6.9 came out 6 days before this workaround, when can we expect that this makes it into the next update(s) please?

February 1, 2024 at 3:25 pm #15255654

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Al momento non abbiamo una data di rilascio per la prossima versione di WPML, mi spiace

April 4, 2024 at 2:26 pm #15484261

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+01:00)

Ciao!

Volevamo informarti che il problema è sistemato permanentemente nella versione 4.6.10 quindi una volta aggiornato, non dovrai fare altro.

Saluti.