Ce sujet est résolu. Voici une description du problème et de la solution.
Problem: The client is trying to translate FluentForm IDs using WPML with different IDs for French and English versions, managed through Divi builder. The client faced issues where the FluentForm ID was not appearing in the 'Edit translation' section and was incorrectly modified in the source language upon updates. Solution: 1. Add the following XML configuration to WPML > Settings > Custom XML Configuration:
3. Make a minor edit to the page where the shortcode is used to refresh WPML elements. 4. Search for the form ID using the search bar in the translation editor.
If this solution does not resolve your issue or seems outdated, we 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 problem persists, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am trying to translate fluentform ID using WPML. For each fluentform, I created two forms: French and English, each with different IDs. I have to manually modify the translated page with the new fluentform ID using Divi builder. I already tried using the following shortcode but it is not working: <shortcode> <tag>fluentform</tag> <attributes> <attribute>ID</attribute> </attributes> </shortcode>. Link to a page where the issue can be seen: lien caché
Symptoms:
When I modify the source page, the fluentform ID is modified in the source language. I expected to see fluentform_ID in 'Edit translation' so I can translate it, but instead, I got nothing in 'Edit translation'.
Questions:
How can I ensure the fluentform ID is available for translation in 'Edit translation'?
Why is the fluentform ID being modified in the source language when I update the source page?
EDIT : I temporary modify french page and put english form (instead of french) to have english form on english and german pages too. Because this porblem has a big impact (to have french form on english and german page).
Then edit the page with Divi slightly where the shortcode is called (add a character or space) to refresh WPML elements, this will add the form ID to be translated to the translation editor,
I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.
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.
What is interesting about this, is that the XML solution suggested before used to work and now it is not,
I kept debugging to understand the issue, but it seems translating shortcodes in general is not possible when they are called like that, at least for the time being,
I have sent your site to our developers to get a second opinion,
In the meantime, you can simply change the ID manually by editing the translation directly using Divi,
Hello,
Unfortunately, when I edit manualy using DIVI, it works until there is a new change on the source page.
If I modify something in the french page, ID will again change on the english page to the french ID form.
3- Apply a small edit to the original page where the shortcode is called.
4- This will change the translation status and refresh the elements
5- Open the translation editor and search for the number at the top search bar
I couldn't apply it for you on your site as the access seems to be expired, could you share another access as I would need it for your rank math ticket,
Okay, this happens specifically if the ID is part of a Toggle in DIVI, this is a compatibility issue,
Locally, I tested on a normal text block and it worked, so either switch to a different block or wait a little bit longer as I send this to our compatibility team again,
I will recreate the issue on a new wordpress installation, and get back to you asap,
Since the issue only happens specifically on the live site, so you have a staging/testing version where you could disable plugins?
Please check if the issue persists in a minimal environment by following these steps.
1- Deactivate all the plugins except WPML CMS, DIVI and Fluentform.
2- Create a new page with a fluentform shortcode and translate it
If the issue is gone, activate them one by one to see which one there is causing an interaction issue.