This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Compatibility
This topic contains 4 replies, has 0 voices.
Last updated by derekd-4 22 hours, 4 minutes ago.
Assisted by: Christopher Amirian.
Author | Posts |
---|---|
February 4, 2025 at 3:13 am #16664801 | |
derekd-4 |
Background of the issue: Symptoms: Questions: |
February 4, 2025 at 7:46 am #16665087 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, Welcome to WPML support. From what I understand the values of the checkboxes or radio buttons are exposed in the Advanced Translation Editor. So if you use the automatic translation or you translated those values, it will show as translated. One thing that you can do is to make a small change in the form in the original language and then send the form for translation again and go to the advanced translation editor to check and see if the values show there. If so, please copy the value from English to French instead of translating it. That should do the trick for you for future entries, but for the current entries there is nothing that can be done from GUI, and you need to use a MySQL query to make the changes in the database to change those items. Thanks. |
February 5, 2025 at 2:53 am #16668896 | |
derekd-4 |
Thank you, Christopher — your response is greatly appreciated! I totally understand about not resolving past entries/submissions and needing to clean up the entries table. Not a concern. As for the Advanced Translation Editor, I made sure it was enabled and went and edited the form. I couldn't see an option to adjust values, so I even added a new value (maybe) in the attached screenshot, but there's still nowhere that the label and value are distinct. When I select "Voiture/véhicule" in the editor, none of the options to the right (in the yellow rectangle) seem to permit editing the selection value. [I also made sure that "Choices / Value #5" isn't somewhere else in ATE.] Thanks, |
February 5, 2025 at 11:48 am #16670809 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, Thank you for the reply. I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website. Make sure you set the next reply as private. Also please tell me where I can see the front end. Meanwhile, I am working on creating a new WordPress installation with WP Forms and WPML to compare that installation with yours by adding a form there and see if the values are translated there as well or only the labels. From the screenshots you shared the Advanced Translation Editor only gives you the option to translate the labels, which sounds logical. But we need to compare to know what will be the behavior for the values. You also can access the WordPress installation I created: hidden link |
February 6, 2025 at 2:38 pm #16676136 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, Thank you for your patience, upon testing a form on the clean installation below: hidden link I found out that the values are translated as well as the labels: Here you can see a French page with the form and the values are also translated: hidden link So this is the default behavior. The idea behind this is that you will have two separate forms for each language. So I understand that for your use-case it is not ideal as you want an aggregate of the data regardless of the language. What you can do is post processing the data by changing the values back to English on the CSV file or whatever export that you have and create a script to run that each time you export the data. Thank you. |
February 10, 2025 at 11:56 pm #16689698 | |
derekd-4 |
Hi Christopher, Thanks very much for your sandbox troubleshooting efforts and responses. I don't fully understand your comment that, "you will have two separate forms for each language." [I assume "two separate forms, one for each language".] Currently, all of the responses submit to the same 'entries' table in WPForms. If I duplicated the form itself, I would need to maintain the two forms separately (and seemingly negate the benefits of using a translation plugin like WPML). It's not apparent how they can be different without having to then keep the forms manually sync'ed/consistent. That said, perhaps mine is not the intended use case so I struggle to understand how it works well in practice. Thanks again! |