Re: Missing Contact Information invalid email (or phone number) field

Missing Contact Information invalid email (or phone number) field

tkclo
Tourist
10 0 0

tkclo_0-1680961429914.png

The "enter an email" message is missing in the translate and adapt app. Moreover there is a field for "Enter an email or mobile phone number" if you choose to accept email or phone number, but this is not the same error message that is displayed when you leave this field blank.

How can I add a translation for this error?

 

Replies 6 (6)

Transcy
Shopify Partner
285 19 85

Hello @tkclo ,

 

You can follow these steps:

  • Go to your Online Store -> Settings -> Language -> Edit
  • Search for Email Address section -> Customize 
  • You should see a field labeled "Placeholder." Enter the translated message for "enter an email" in this field.
  • Search for the "Customer account creation" section, and then click on the "Customize" button.
  • You should see a field labeled "Enter an email or mobile phone number." Enter the translated message for this field in this field.
  • Scroll down to the "Error messages" section, and then search for the error message that is displayed when the email or phone number field is left blank. This error message may be labeled as "Email can't be blank" or "Phone number can't be blank," depending on the settings you have chosen.
  • Click on the "Customize" button for the error message, and then enter the translated message in the "Translation" field.
  • Save and test

Hope this will help.

Transcy team.

Transcy - The #1 Translation and Currency Converter
- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Blog
tkclo
Tourist
10 0 0

The issue is that the error message labeled as "Email can't be blank" or "Phone number can't be blank," does not exist, I’ve searched for every thing and translated every field with the word email in it. I use Translate and Adapt and not Transcy.

Ujjaval
Shopify Partner
1242 197 210

@tkclo you can translate it through out the jquery .
i think below jquery might be helpful if your theme is Dawn

$('span.form__message').text("Your text here");

 

tkclo
Tourist
10 0 0

But how would I make this work with different languages? I still want it to say "Enter an email" in English but to be translated when switching languages

richbrown_staff
Shopify Staff
651 95 160

Hi @tkclo , following up her e- have you mangaged to fix this? This is what I saw on your store:

 

richbrown_staff_0-1681467880916.png

 

 

Using a Google Translate extension to check the Armenian, it looks like it's been translated. Please let us know if you need more help. Thanks! Rich

 

To learn more visit the Shopify Help Center or the Community Blog.

tkclo
Tourist
10 0 0

Yes, I managed to fix it by looking at the JSON file directly and finding it. It hadn't been picked up by Translate and Adapt for some reason