Skip to main content
Contributor III
February 25, 2021
Solved

How can I translate sign up form validation messages?

  • February 25, 2021
  • 35 replies
  • 4519 views

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.
Best answer by David To

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

Contributor I
September 6, 2023

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;
}

 

Taylor Tarpley
Community Manager
Community Manager
September 6, 2023

Hi @Leonovit

 

Thank you so much for sharing this to help out your Community users and share your wisdom with others! 

 

This is what makes our platform great! 

 

-Taylor 

Contributor I
September 28, 2023

Still can't translate these fields? An update would be much appreciated!

@Leonovit where do you place your css code please?

Contributor I
September 28, 2023

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

Contributor I
September 28, 2023

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