Translate validation message when locale changes
150
Views
2
Comments
New
Frontend (App Interfaces)

When changing locale of a screen, in multi-lingual applications, everything is translated, except validation messages.

The validation message is displayed in the right locale when triggered, however, if the validation message was already added, and then the locale changes, the validation messages are not translated to match the new locale.

To translate the validation messages, the user has to trigger the form validation again.

ValidationWithLocale.oml

Dear @Mustafa Emad Shaker

OutSystems allows you to change the default validation messages by translating them through Multilingual Locale . 
you can customize the default system validation messages (such as mandatory field, invalid format, etc.) for each language used in your application.

Hi @Iheb Maatali Riahi,

The sample I mentioned above is for the translation of the default validation message. The issue is not about translating the validation, but translating it when the locale changes after it was displayed.

Even the custom validation messages have the same issue. You can check it using the module in the link below:

ValidationWithLocale_v2.oml

Regards,
Mustafa.