Thanks Marcel Vriend, but in case only the message shown, I need to show the message with field name and the field comes from the localization.
So in that case I create our own custom DataAnnotation attribute like:-
[MaxWordDataValidation(50, "Localization Key Name")] [EditingComponent(TextInputComponent.IDENTIFIER, Label = "{$Localization Key Name$}", Order = 3, Tooltip = "{$Localization Key Name$}")]
And its worked.