Skip Navigation

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

Problem:
The client was unable to translate the registration and login forms created with the "User Registration for WooCommerce" plugin, as they were always displayed in English and the form elements were not available in the string translation.

Solution:
1. Navigate to WPML > Settings > Post Types Translation and set the post type Custom Forms (wc_custom_forms) to "Translate - Only show translated items" and save the changes.

2. Go to WPML > Settings > Custom Fields Translation and set the field "wc_custom_forms_builder_config" to "Translate".

3. Edit the form titled "rvb User Registration" under WooCommerce > Custom Forms and translate it into French.

4. Use the Advanced Translation Editor to search for the form label and translate the config field, ensuring to only translate the label and placeholder while keeping other settings unchanged. Refer to the provided screenshot for guidance.

5. After translating, note the French translation form ID (e.g., 105300).

6. If using the WordPress editor, edit the French translation page and replace the English form ID with the French form ID (e.g., replace 96413 with 105300).

Following these steps should display the translated form on the frontend.

Refer to the following documentation for more details:

If the solution provided here is not relevant to your case, either because it's outdated or not applicable, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us through the WPML support forum.

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.

This topic contains 3 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 5 months ago.

Assisted by: Long Nguyen.

Author Posts
February 1, 2024 at 2:00 am #15252610

Patrick

the registration and login forms are always in English
hidden link

could not find any of the form elements in string translation,
could not find solution how to translate it

February 1, 2024 at 2:16 am #15252611

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Patrick,

Here is the new ticket. I will explain how to translate the registration form: The form is supported by the plugin "User Registration for WooCommerce" and created in WooCommerce > Custom Forms. Then you use the form shortcode to insert it into the page content.

Please follow steps below to translate it into a second language:

1. Go to WPML > Settings > Post Types Translation > Set the post type Custom Forms (wc_custom_forms) preference to "Translate - Only show translated items" > Save.

2. Go to WPML > Settings > Custom Fields Translation > Set the field "wc_custom_forms_builder_config" preference to "Translate".

3. Go to WooCommerce > Custom Forms > Edit the form "rvb User Registration" > Translate it into French language.

4. In the Advanced Translation Editor > Search for the form label and translate the config field. Note: only translate the label and placeholder, other settings keep the same. Please check the screenshot attached.

5. Switch to the French language and copy the translation form ID in French (105300).

6. You are using the WordPress editor to translate the login and registration page, so you can edit the translation page in French > Replace the form ID in English with the ID in French: 96413 > 105300.

Now you can see the form is translated in the frontend as well.

Refer documentation:
1. https://wpml.org/documentation/getting-started-guide/translating-custom-posts/
2. https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
4. https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

Look forward to your reply.
Thanks

Monosnap S’identifier S’enregistrer – RVB 2024-02-01 09-15-42.png
4.png
5.png
6.png
February 1, 2024 at 7:22 am #15253013

Patrick

Hello,

Thank you for the detailed information

We managed to edit the FR form 105300 translation

However, did not find a way to create an NL and DE version of it, can you please help with this?

hidden link
hidden link
thank you in advance

February 1, 2024 at 8:21 am #15253131

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

You can repeat steps 3, 4, 5, 6 to translate the form into the Dutch language and show it in the frontend. Please check the screenshot attached.

Look forward to your reply.
Thanks

Monosnap Inloggen – Registreren – RVB 2024-02-01 15-20-22.png
4.png
5.png
6.png