Skip Navigation

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

Problem:
The client is unable to translate the "Returning Customer" section on the WooCommerce checkout page.
Solution:
We recommend adding the following XML configuration to the WPML-> Settings-> Custom XML tab to enable translation of the "Returning Customer" section and other related fields:

<wpml-config><br />  <elementor-widgets><br />    <widget name="woocommerce-checkout-page"><br />      <fields><br />        <field>returning_customer_link_text</field><br />        <field>billing_details_section_title</field><br />        <field>shipping_details_section_title</field><br />        <field>additional_information_section_title</field><br />        <field>create_account_text</field><br />        <field>order_summary_section_title</field><br />        <field>coupon_section_title_link_text</field><br />        <field>terms_conditions_message_text</field><br />        <field>terms_conditions_link_text</field><br />      </fields><br />      <fields-in-item items_of="billing_details_form_fields"><br />        <field>field_label</field><br />        <field>label</field><br />        <field>placeholder</field><br />      </fields-in-item><br />      <fields-in-item items_of="additional_information_form_fields"><br />        <field>field_label</field><br />        <field>label</field><br />        <field>placeholder</field><br />      </fields-in-item><br />      <fields-in-item items_of="shipping_details_form_fields"><br />        <field>field_label</field><br />        <field>label</field><br />        <field>placeholder</field><br />      </fields-in-item><br />    </widget><br />  <elementor-widgets><br /></wpml-config><br /><br />If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at <a href="https://wpml.org/known-issues/">https://wpml.org/known-issues/</a>, 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 <a href="https://wpml.org/forums/forum/english-support/">WPML support forum</a>.

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 8 replies, has 2 voices.

Last updated by rebwarK-2 2 years, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
June 6, 2022 at 10:06 am

rebwarK-2

I am unable to translate the section "Returning Customer" on the WooCommerce checkout page.

June 6, 2022 at 11:26 am
June 6, 2022 at 12:05 pm #11395793

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Could you please check the access details shared with us? Because I got an error message. (Error: The password you entered for the username *** is incorrect. Lost your password?)

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me a lot of information about how your site is configured.

Thanks for your cooperation

Regards,
Osama

June 6, 2022 at 12:10 pm
June 6, 2022 at 12:52 pm #11396169

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. Could you please let me know how to change this string in the default language? (If you have shopped with us before, please enter your details below. If you are a new customer, please proceed to the Billing section.)

I was able to translate the section title by adding the following code to WPML-> Settings-> Custom XML tab. (Kindly check the attached screenshot)

<wpml-config>
  <elementor-widgets>
    <widget name="woocommerce-checkout-page">
      <fields>
        <field>returning_customer_link_text</field>
        <field>billing_details_section_title</field>
        <field>shipping_details_section_title</field>
        <field>additional_information_section_title</field>
        <field>create_account_text</field>
        <field>order_summary_section_title</field>
        <field>coupon_section_title_link_text</field>
        <field>terms_conditions_message_text</field>
        <field>terms_conditions_link_text</field>
      </fields>
      <fields-in-item items_of="billing_details_form_fields">
        <field>field_label</field>
        <field>label</field>
        <field>placeholder</field>
      </fields-in-item>
      <fields-in-item items_of="additional_information_form_fields">
        <field>field_label</field>
        <field>label</field>
        <field>placeholder</field>
      </fields-in-item>
      <fields-in-item items_of="shipping_details_form_fields">
        <field>field_label</field>
        <field>label</field>
        <field>placeholder</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

Thanks for your cooperation

Regards,
Osama

1.jpg
June 6, 2022 at 1:31 pm #11396521

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I was able to find the missing strings under the "elementor-pro" text-domain in WPML-> Strings Translation. (Kindly check the attached screenshot)

Would you please check the page and let me know if it works correctly?

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama

1.jpg
June 6, 2022 at 6:22 pm #11398511

rebwarK-2

How did you add the elementor-pro domain to String Translation?

June 6, 2022 at 6:31 pm #11398575

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I didn't add it. I've scanned the Elementor Pro plugin for strings by going to WPML-> Theme and Plugin Localization, selecting the plugin, and clicking on the "Scan" button.

Best regards,
Osama

June 7, 2022 at 9:53 am #11402399

rebwarK-2

Do I need to add the XML tab thing?

June 7, 2022 at 10:11 am #11402613

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Yes, you need to add it to register the checkout widget. Kindly check the following steps:

1- Add the code in WPML-> Settings-> Custom XML tab
2- Update the default language page and its translation
3- Go to WPML-> Theme and plugin localization
4- Scan Elementor and Elementor Pro
5- Go to WPML-> String Translation and search for the needed strings
6- Clear the cache and check the front end

Best regards,
Osama

June 10, 2022 at 4:15 am #11430159

rebwarK-2

That worked. My issue is resolved now. Thank you!