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.
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:
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.
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: