Not possible to use Multilingual Locales to modify the language of Built-in Validation Messages.
Hi @PRAVEEN R
You need to change "todefine" to "translate".Like the below image..
Hope it helps.
Thanks
Karnika.
Hi Karnika,
It's already in Translate.
Have you changed this translate behaviour in which module that form present in?
For Instance,If the form is present in CW module(Webblock module) means,you need to change in that module.
Yes @Karnika-EONE , I have changed the translate behavior in the same module.
The default Build-in validation msg was not changed.
Validation messages like that one 'Required field' are managed automatically by the platform. So they can't be translated like your text widgets or expressions that you have on your code.
As far as I know, they are dependent on the locale. Did you try with different locales?
Regards ~
Satyam Mishra
@Satyam Mishra Tried with different locale facing the same.
When trying to submit again the validation message got changed in expected locale.
why it's not changed by default
@PRAVEEN R
As I said , Either you can do it manually or Validation messages like 'Required field' are managed automatically by the platform. So they can't be translated
As far I understand you are facing the issue when you follow a particular pattern
Looks like this is a bug and someone from OutSystems Product may comment on this.
A temporary workaround is to hide the error message by setting Input_Name.Valid = True while changing the language, along with SetCurrentLocale().
Thanks @Siya