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

Contributor I
Sep 28, 2023 8:46 AM UTC

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

Contributor I
Sep 28, 2023 8:03 AM UTC

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

Contributor I
Sep 28, 2023 7:58 AM UTC

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

@Leonovit where do you place your css code please?

Taylor Tarpley
Community Manager
Community Manager
Sep 6, 2023 12:46 PM UTC

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

 

Taylor Tarpley
Community Manager
Community Manager
Sep 1, 2023 8:01 PM UTC

Hi @geneviever, 

 

Yes, while this is still the case, I will submit this as a feature request! 

 

-Taylor

Contributor I
Aug 25, 2023 6:50 PM UTC

Hi, 
Can someone confirm that those error message  « This field is required » are still harcoded and cannot be modified ?

Thanks in advance,
 

David To
Klaviyo Employee
Klaviyo Employee
Dec 23, 2021 3:59 PM UTC

Hey @blecom,

Our product team is aware of this Product enhancement to have the ability to translate those error messages within signup forms. At present those error messages are hard coded to display in english and is not adjustable. 

The current work around and best answer to allow the validation messages to be translated would be to custom code and use your own custom signup form. You can find resources we offer on how to build your own custom signup forms using HTML/CSS from the Help Center articles below. Because using a custom built signup form allows for more customizations that is dictated by how the form is built, it offers more flexibility in its behavior such as having those error/validation messages appear in a different language.

If we receive any updates from our Product Team regarding the enhancement of this feature, we’ll be sure to update this thread with the news!

Happy holidays!

David

Contributor I
Dec 22, 2021 8:39 PM UTC

Hi Team-Klaviyo!

Could you solve the problem to translate validation messages used in sign up forms?

 

Please tell me yes, I guess it wouldn’t be that hard to add this to the settings, right.:sweat_smile:

David To
Klaviyo Employee
Klaviyo Employee
Dec 21, 2021 9:09 PM UTC

Hey @Kongamato9,

Really appreciate you point this discrepancy out! I’ll pass your note over to our Product Team to include in our product enhancement request. 

David