Form field labels

I have a multi-language site with forms that can be translated to multiple languages ( Even though each form field has a consistent name and id value between languages, the label in Netlify’s form UI uses the value from the <label> element.

The effect is that the labels in Netlify change language randomly between builds, rather than staying consistent based on the field name.

How can I go about making the labels consistent in Netlify, preferably using the english translations?

Hi @claygiffin,

The solution for you would be to use a different form per language. While scanning your built files, we’d look for the forms and whichever one we hit at the end, would be the values stored in our database. We won’t process your fields after the site has been built, so even if you use different labels during runtime, we’d follow what our database has.

1 Like