Vai al contenuto Vai alla barra laterale

Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.

Problema:
Il cliente sta riscontrando problemi con la visualizzazione dei valori tradotti dei campi personalizzati di ACF Pro nei set di filtri di Filter Everything PRO nella pagina del negozio WooCommerce. Nonostante i prodotti siano tradotti correttamente, i valori dei filtri non appaiono nella lingua desiderata.

Soluzione:
Abbiamo suggerito al cliente di tradurre i set di filtri seguendo la documentazione di Filter Everything PRO e WPML. In particolare, abbiamo consigliato di:
1. Navigare in WPML > Translation Management e filtrare per 'Filter Sets'.
2. Selezionare il set di filtri assegnato alla pagina del negozio e inviarlo per la traduzione seguendo la guida di WPML: https://wpml.org/documentation/translating-your-contents/#translating-pages-posts-and-custom-post-types.
3. Assicurarsi che la preferenza di traduzione per i campi personalizzati sia impostata su 'Traduci' in WPML > Settings > Custom Field Translation.
4. Per i campi ACF, cambiare la modalità di traduzione del gruppo di campi in 'Esperto' e aggiornare la preferenza di traduzione per i campi specifici.
5. Se si utilizza un plugin non compatibile con WPML, come 'Datatable by Supsystic', creare una versione inglese della tabella e aggiornare il codice shortcode nella traduzione della stringa.

Se la soluzione proposta non è pertinente, perché potrebbe essere obsoleta o non applicabile al caso specifico, consigliamo al cliente di aprire un nuovo ticket di supporto. Raccomandiamo inoltre di controllare i problemi noti correlati su https://wpml.org/known-issues/, verificare la versione della correzione permanente e confermare di aver installato le ultime versioni di temi e plugin. Per ulteriore assistenza, è possibile contattarci nel forum di supporto WPML.

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.

Etichettato: 

Questo ticket contiene 18 risposte, ha 2 voci.

Ultimo aggiornamento da Prosenjit Barman 1 anno, 7 mese fa.

Assistito da: Prosenjit Barman.

Autore Post
Febbraio 1, 2024 alle 9:15 am #15253354

massimoP-15

Have you understood what the problem is?
I urgently need to resolve, the customer is asking me to make this last change.
Have you understood what the problem is?
I urgently need to resolve, the customer is asking me to make this last change. If you can't solve it, I will try to add a new custom field instead of the old "Ferrule" and redo the insertion of all the "short description" texts in English

Febbraio 1, 2024 alle 10:09 am #15253837

Prosenjit Barman
Sostenitore di WPML dal 03/2023

Lingue: Inglese (English )

Fuso orario: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you so much for the clarification. I'm extremely sorry for the delayed response.

Upon examining the English version of the product, I noticed that information in the "Ferrule" section was missing, which was shown in the Italian version. However, After updating the English translation, the "Nickel-plated" detail appears in the "Ferrule" correctly. For clarity, please refer to this screenshot: link nascosto. Let me know if this addresses your expectations or if you are looking for a different outcome.

Regarding the table in the short description, it appears to be generated with the "Datatable by Supsystic" plugin and included via a shortcode. To translate the table, you'll need to create an English version of it. It's important to note that we don't have any compatibility details for this plugin in our directory, which you can verify here: https://wpml.org/plugin/

However, it seems by taking a manual translation approach. It is possible to translate and display the table correctly in each language. Please try the following-

1. Navigate to 'Datatable by Supsystic' and create a new table, ensuring all content is in English.
2. After creating the English table, copy its shortcode.
3. Proceed to "WPML > String Translation" and search for the shortcode used in the short description of the default product.
4. Should you find the shortcode, click the "+" icon under the English flag and paste the newly created English table's shortcode.
5. Click outside the box to save your changes.

This method should be helpful, although it might be a bit of extra work if you have a larger amount of table. Given the lack of WPML support for the plugin, this workaround is the best suggestion for now. You might consider contacting the plugin's support team to inquire about joining WPML's Go Global program for more seamless integration. For more information on this program, visit: https://wpml.org/documentation/support/go-global-program/

By joining this program, they can collaborate with the compatibility team of WPML and make their plugin compatible with WPML. Once WPML support is integrated, you'll have the option to translate directly via the WPML Translation Editor or by duplicating the table, simplifying the process. Thank you for your understanding.

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

Febbraio 1, 2024 alle 10:45 am #15254277

massimoP-15

If I have to pass all the products, one by one, this solution does not satisfy me, because it is not an optimized/automatic solution,
ACF is compatible with WPML, but I still have this type of problem.
The short description fields had already been translated into woocommerce (a program compatible with WPML) in the way you described, so now I have to redo the same work I did before.
so I proceed in this again, as I already knew
Thank you all the same.

Febbraio 1, 2024 alle 11:19 am #15254475

Prosenjit Barman
Sostenitore di WPML dal 03/2023

Lingue: Inglese (English )

Fuso orario: Asia/Dhaka (GMT+06:00)

Hi,

To ensure the translation and transfer of specific data to the translated product, it's essential to update the translation. If you want the updates to be applied automatically, you have the option to enable Automatic Translation. Once activated, any changes to the original post or page will be automatically updated in its translations. For detailed information on Automatic Translation, please refer to this guide: https://wpml.org/documentation/automatic-translation/.

Please don't hesitate to correct me if there's any misunderstanding. I'll be more than happy to provide further assistance on this matter if needed.

Best regards,
Prosenjit