Skip to main content
Contributor III
Feb 25, 2021 2:30 PM UTC
Solved

How can I translate sign up form validation messages?

I’m looking for a way to translate validation messages used in sign up forms.

The Language of the list is set to Polish but despite that the validation messages, like: “This field is required” or “Please enter a valid email address”  are presented in English and I’m unable to locate settings to either set them to Polish or translate.

Please kindly advise.

This topic has been closed for replies.
David To
David ToAnswer
Klaviyo Employee
Jun 6, 2021 2:38 PM UTC

Hello @Iztok,

Those fields you are highlighting with the message of “This field is required” is actually hard coded into all Klaviyo signup forms as English and is currently not adjustable to displayed in a different language.

That said, I know that @julie.accardo has submitted a feature request to the Klaviyo Product Team to consider as a future iteration to allow these error messages to be translated. Julie has also brought up a great work around of using custom/legacy forms built on HTML to counteract this in the Community post below:

Additional resources that may be helpful in building out your own custom signup form would be the following articles:

Hope this helps!

David

35 replies

David To
Klaviyo Employee
David ToAnswer
Klaviyo Employee
Jun 6, 2021 2:38 PM UTC

Hello @Iztok,

Those fields you are highlighting with the message of “This field is required” is actually hard coded into all Klaviyo signup forms as English and is currently not adjustable to displayed in a different language.

That said, I know that @julie.accardo has submitted a feature request to the Klaviyo Product Team to consider as a future iteration to allow these error messages to be translated. Julie has also brought up a great work around of using custom/legacy forms built on HTML to counteract this in the Community post below:

Additional resources that may be helpful in building out your own custom signup form would be the following articles:

Hope this helps!

David

mantrasanAuthor
Contributor III
Mar 4, 2021 8:32 AM UTC

Thanks for the info. This is very unfortunate, as the sign up forms are the basis of your product. I hope this gets fixed pretty soon as there is nothing worse as partially translated strings. This reflects badly both on the website where the form is embedded but also on the product itself.

Thanks for bringing it up to the dev team.

 

On the other note. I’m creating a consent form. I want to have a checkbox with a label which includes a link to the privacy policy. From what I see the label field is not rendering HTML. How this can be achieved?

 

I declare that I have read <a href="#somelink">Regulations of the online shop</a> and I accept its terms and conditions

I really hope this is achievable in a nice way. I don’t want to add it as a regular text underneath the checkbox.

Contributor I
Nov 13, 2021 4:16 PM UTC

Waiting to Portuguese/Brazilian translation.

Contributor I
Sep 28, 2023 8:03 AM UTC

Hi @Fenrir: just place it in your regular css-file

mantrasanAuthor
Contributor III
Mar 1, 2021 4:11 PM UTC

Yes, I would not be posting without double checking it.

What works:

  • general unsubscribes page for a list - respects language settings for  buttons etc. and validation messages.

What is not working

  • sign up form validation messages are always displayed in English, regardless of the language settings of the list. I tested it with a combination of existing and new forms and lists.

I’d love to get it working as validation messages are important factor when it comes to the rate of successful sign-ups.

 

Thanks.

 

Peter

mantrasanAuthor
Contributor III
Mar 5, 2021 10:27 AM UTC
As you can see label field is sanitizing all characters as plain text. I think limited, basic tags should be allowed to be rendered as HTML.

 

Contributor I
Sep 14, 2021 9:26 PM UTC

I need this too pls. Customized error messages for sign up popups pls. THX

Contributor I
Oct 27, 2021 4:29 PM UTC

This is a really important feature, please don’t forget it.

Contributor I
Sep 6, 2023 11:46 AM UTC

i fixed this only by css. I looked for the specific elements where the validation message is displayed, then set the font-size to zero and add a pseudo-html-element with my translation - in this case german. This will not work in a multi-language scenario. Hope this helps:

 

#klaviyo_ariaid_3, #klaviyo_ariaid_4, #klaviyo_ariaid_5  {
font-size: 0px !important;
}
#klaviyo_ariaid_3:after, #klaviyo_ariaid_4:after, #klaviyo_ariaid_5:after {
content: 'Pflichtfeld';
font-size: 12px;
}

 

Contributor I
Sep 28, 2023 8:46 AM UTC

Thank you very much @Leonovit , that solve the problem 👍