[Risolto] Previous translation disappeared after content update
Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.
Problem: If you're experiencing issues where translations disappear after updating a post created with Advanced Custom Fields (ACF), it might be due to the text segmentation settings in the WPML translation editor. Solution: We recommend trying the following steps: 1. Disable the option "I prefer bigger segments" in the translation editor's top-right options. This setting affects how text is segmented and can cause entire segments to disappear if they are modified. 2. Consider reverting to a previous version of the translation editor if the issue persists after changing the segmentation settings.
If these steps do not resolve your issue, or if the solution seems outdated or not applicable to your case, we 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. If you still need assistance, please open a new support ticket at WPML Italian Support Forum.
Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.
La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.
Contesto del problema:
I am trying to update a post created with ACF in the original language, but I noticed an issue with the translations.
Sintomi:
After updating a post, translations for other languages disappeared.
Domande:
Is it normal for translations to disappear after updating a post created with ACF?
Am I encountering some errors with WPML when updating content?
When I update translations in some pages only the URL string goes away, in some pages everything is present. Why is this happening?
Sometimes, “title” or “url” string is not showing within advanced translator so I’m not able to translate it.
I see this issue only in some pages.
See screen attached for url string completely missing.
Le traduzioni sparite sono molto probabilmente dovute ad una diversa segmentazione dei testi.
Prova a
- disabilitare l'opzione "I prefer bigger segments" dalle opzioni in alto a destra nell'editor di traduzione
- passare alla versione precedente dell'editor
Buongiorno Laura, ho provato entrambi i due punti che dici ma nuovamente si presenta il problema. Anche con la versione precedente dell'editor.
Non appena faccio una mini modifica al testo in italiano, quando apro l'editor di traduzione, sparisce tutto (compresa la stringa dell'URL, che dovrebbe essere al di fuori del contenuto (?))
Cosa può essere? Se hai bisogno degli accessi al sito e vuoi guardarci meglio, dimmi pure
Buongiorno Laura, ho fatto un video per mostrarti la problematica. link nascosto
Dopo aver eliminato l'ultima frase, sono andato a rifare la traduzione e come vedi tutta la descrizione è scomparsa (però è rimasto la stringa dell'url, di solito va via anche quella)
La pagina in questione è la seguente link nascosto
Quello che vedo nel video è il comportamento previsto. La descrizione è un unico segmento, se modifichi una parte non c'è più un match con la memoria di traduzione (che si applica solo se i segmenti sono identici al 100%).
Disabilitando "I prefer bigger segments" dovrebbe dividire la descrizione in più segmenti (uno per frase) quindi poi modificandone uno gli altri non vengono compromessi.