Ce sujet est résolu. Voici une description du problème et de la solution.
Problem:
The client needed to make the placeholders in their forms translatable and was also facing issues with a custom query on their 'News' page.
Solution:
We created a custom XML file to enable translation of the form blocks. To apply this solution:
1. Navigate to WPML > Settings > Custom XML Configuration.
2. Add the following code:
<wpml-config> <gutenberg-blocks> <gutenberg-block type="kadence/advanced-form-select" translate="1"> <key name="label"></key> <key name="placeholder"></key> <key name="options"></key> </gutenberg-block> <gutenberg-block type="kadence/advanced-form-text" translate="1"> <key name="label"></key> <key name="placeholder"></key> <key name="requiredMessage"></key> </gutenberg-block> <gutenberg-block type="kadence/advanced-form-email" translate="1"> <key name="label"></key> <key name="placeholder"></key> <key name="requiredMessage"></key> </gutenberg-block> <gutenberg-block type="kadence/advanced-form-textarea" translate="1"> <key name="label"></key> <key name="placeholder"></key> <key name="requiredMessage"></key> </gutenberg-block> <gutenberg-block type="kadence/advanced-form-submit" translate="1"> <key name="text"></key> </gutenberg-block> </gutenberg-blocks> </wpml-config>
Please test the form functionalities such as message sending, and if you encounter any issues, contact Kadence Blocks support as it may not be related to translation.
This solution might be 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 the issue persists, please open a new support ticket.
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.
Ce sujet est une subdivision de https://wpml.org/fr/forums/topic/https-mmi-brasgauche-com/
Ce sujet contient 5 réponses, a 2 voix.
Dernière mise à jour par Il y a 1 semaine et 5 jours.
Assisté par: Nicolas V..