Passer au contenu Passer à la barre latérale

Ce sujet est résolu. Voici une description du problème et de la solution.

Problème :
Dans les formulaires de Contact Form 7, les cases à cocher traduites ne proposent plus de choix distincts dans les langues autres que le français. Les étiquettes des cases à cocher apparaissent fusionnées comme une seule option.
Solution :
Nous vous recommandons de désactiver l'option de segmentation, puis de refaire la traduction des formulaires pour chaque langue via l'éditeur de traduction automatique (ATE). Cela devrait permettre à chaque étiquette de s'afficher séparément. Nous avons également signalé ce problème à nos développeurs pour éviter que cette fusion des segments ne se reproduise dans les formulaires de contact.

Si cette solution ne résout pas votre problème ou semble obsolète, nous vous conseillons de vérifier les problèmes connus, de vérifier la version de la correction permanente et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Marqué : 

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Ilyes Il y a 11 mois et 2 semaines.

Assisté par: Ilyes.

Auteur Messages
août 15, 2024 à 2:32 am #16072834

arnaudt-15

Contexte de la question:
I am working on a site that is currently under development. I have several different contact forms created with Contact Form 7. The French forms are the originals and work normally. I am following the Contact Form 7 documentation.

Symptômes:
The contact forms with checkboxes are translated but no longer offer a choice. For example, if I have two checkboxes: a 'retail' checkbox and a 'professional' checkbox, the translation only gives one checkbox, which appears with the label retail/professional as if it were a single choice. This issue occurs in all languages except French.

Questions:
How can I fix the checkbox translation issue in Contact Form 7 forms using WPML?

août 16, 2024 à 1:47 am #16076521

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

There could be a shortcode that wasn't translated properly,

- Update the original form with a small change
- Edit the translation
- Use the search field at the top to find the text and translate it : lien caché

let me know if you found other instances of that checkbox and if translating it helped,

Best,

août 16, 2024 à 2:29 am #16076545

arnaudt-15

Hello,

I did what you recommended:

1- make a modification on the original form (in French) then save the modification.
2-Edit the translation (in this example, with the English form)
3- I don't need to search for the text, I know where it is (it's the first line of the form to be translated).

The problem is identical. I only have one checkbox that appears with the text of the two checkboxes in a row.
I have the same problem on all forms with checkboxes.

Thanks for your help,

Same probleme.JPG
août 16, 2024 à 3:00 am #16076585

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.

Kindly provide me with the steps on how to replicate the problem.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

lien caché

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

août 16, 2024 à 4:51 pm #16078903

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

I recorded a video to better explain how to fix the issue : lien caché

The segmentation option is now disabled, simply redo the translation again for other languages and it should show each label by itself under ATE,

I will also escalate this to our developers to see how to avoid this segmentation merge for contact form checkboxes.

In the meantime, have this option disabled,

août 17, 2024 à 7:12 am #16079681

arnaudt-15

It was perfectly clear, Ilyes. Thank you for solving my problem, it was very efficient. All my forms with checkboxes are now updated in all languages!