Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to translate the form fields of WPForms using WPML String Translation as they do not appear in the translation interface.
Solution:
1. Access the

wpml-forms-config.xml

file located in

.../wp-content/plugins/wpml-wpforms/

.
2. Edit line 57 of the file.
3. Replace the existing

<property>code</property>

with the following code block:

<property>code</property><br /><property>address1_placeholder</property><br /><property>address2_placeholder</property><br /><property>city_placeholder</property><br /><property>postal_placeholder</property><br /><property>state_placeholder</property><br /><property>country_placeholder</property>

4. Make a minor change to your form and attempt to translate it again. This should allow the previously missing address fields to appear for translation.

If this solution does not seem relevant to your issue, please open a new support ticket with us.

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: 

This topic contains 4 replies, has 2 voices.

Last updated by Lauren 1 year, 1 month ago.

Assisted by: Lauren.

Author Posts
October 27, 2023 at 2:54 pm

frederikP-8

I can't translate de form fields of wpforms, I use wpml string translation but these fields don't show up there.

October 27, 2023 at 3:37 pm
October 30, 2023 at 8:32 pm #14694981

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

I have escalated this ticket to our compatibilitly team because I was able to reproduce this in a clean install. I will update here once I have more information.

November 2, 2023 at 8:56 am #14713801

frederikP-8

Any updates?

November 2, 2023 at 1:27 pm #14717145

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

I don’t have any update from the compatibility team yet, but as soon as I do I will post here in the ticket.

November 2, 2023 at 4:25 pm #14719495

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

I believe the following will resolve the issue. Please open .../wp-content/plugins/wpml-wpforms/wpml-forms-config.xml file.
Edit line 57.

Change:

<property>code</property>

For:


	<property>code</property>
			<property>address1_placeholder</property>			
			<property>address2_placeholder</property>
			<property>city_placeholder</property>
			<property>postal_placeholder</property>
			<property>state_placeholder</property>
			<property>country_placeholder</property>

Then make a small change to your form and translate it again. Do you know see the address fields that weren’t there previously?