Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Osama Mersal 7 hours, 28 minutes ago.

Assisted by: Osama Mersal.

Author Posts
February 25, 2025 at 8:11 pm #16747831

zenC

Background of the issue:
I am trying to translate the string "returning customer? click here to login" on the checkout page. The issue can be seen after clicking the checkout button on this page: hidden link.

Symptoms:
I expected to see the translated string, but instead, I got the original language.

Questions:
Why is the string translation not being applied?

February 26, 2025 at 4:40 pm #16752325

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.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

February 26, 2025 at 5:56 pm #16752691

Osama Mersal
Supporter

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

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

Hi,

Please check the access details. I got the following error. (Unknown email address. Check again or try your username)

Best regards,
Osama

February 27, 2025 at 7:27 am #16754123

zenC

Hi Osama,
it should work now.

February 27, 2025 at 10:17 am #16755120

Osama Mersal
Supporter

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

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

Hi,

1) Thanks for the access details. I checked the issue and found that these strings can be translated inside Elementor, so I edited the translated checkout page using Elementor to translate the strings. Please check if they are translated correctly.

2) The E-mail field checkbox can be translated via hidden link">String Translation.

Best regards,
Osama

February 28, 2025 at 7:57 am #16759287

zenC

Hi Osama,

thanks for checking this out.

Unfortunately this does not fix the issue, because when i change something on the checkout page and retranslate it, translations done inside elementor will get lost and i have to re-add them every time i do that.

To further narrow down the problem i changed those strings to "Are you a returning customer?" & "Then click here to login" now and noticed, that they are neither shown in the ATE nor in the string translation. Since all other checkout section titles are shown in the ATE my conclusion would be, that those fields are missing in the ATE.

February 28, 2025 at 2:23 pm #16761284

Osama Mersal
Supporter

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

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

Hi,

I added the following XML code to WPML-> Settings-> Custom XML tab.

<wpml-config>
  <elementor-widgets>
    <widget name="woocommerce-checkout-page">
      <fields>
        <field>returning_customer_section_title</field>
        <field>returning_customer_link_text</field>
        <field>billing_details_section_title</field>
        <field>additional_information_active</field>
        <field>create_account_text</field>
        <field>order_summary_section_title</field>
        <field>coupon_section_title_text</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>

Please edit the checkout in the default language, make a minor edit, and update it. After that, please update the translation and check if the new customer string appears in ATE.

Best regards,
Osama