Localization of Form error message

Hi,

I have a multilingual website (English/French), and we override the admin resources as described in your documentation: https://docs.kentico.com/documentation/developers-and-admins/customization/admin-ui-localization

I created a Kentico form in Xperience by Kentico. While working in the English channel within the administration interface, submitting the form in page preview correctly displays the error message in English.

Url: admin/webpages-1/en_3/preview

1.00

However, when I access the page via its URL and submit the form, the error message appears in French—even though I am on the English version of the page and all other content is well displayed in English (Widget, Content Hub, etc.). It seems that the Kentico form is using the French resource defined in my admin project for the error message (resource is general.requiresvalue).

Url: /en/test

1.00

Could you please let me know if this is a bug or if I may have misconfigured something?

Thank you


Environment

  • Xperience by Kentico version: 31.2.0

  • .NET version: 10

  • Execution environment: Private cloud

Tags:
Localization Form Builder Xperience Administration v31.2.0

Answers

Hello!

Thanks for the response Laura, but we have already looked at that documentation and correctly implemented multiple languages in our front end website.

The issue is with the Forms module in the administration interface. Here we are using the built-in email field for our form and it is required :

1.00

Now, we use this form in a web page like the following :

1.00

We overrided the styles, but it's the form created in the admin application.

Now, when we submit this form via the preview in the admin application, we get the correct error message

1.00

But when we do so on the live website, the form is in English, but the error message is in french :

1.00

This error message seems to be coming from the administration interface ressources :

1.00

Those ressources were added to translate the administration interface as stated in this documentation :

https://docs.kentico.com/documentation/developers-and-admins/customization/admin-ui-localization

Here, you can clearly see I modified the general.requiresvalue value for the french version and it shows that in the English version on my live site :

1.00

So I'm pretty sure the ressources used for the Forms application validations come from the administration ressources, not the live website ressources. And it also seems like the current culture shared between the live website and the form is not working properly in that situation.

Hope that clears the issue,

Thanks in advance for any help.

Note : Images seems to become broken links no matter how I join them.

To response this discussion, you have to login first.