Result from any validateX function.
'en' (default), 'si', or 'ta'.
Optionaloverrides: Readonly<Record<string, string>>
Optional messages keyed by code.
The same result with error and errors translated. Successful results are returned unchanged.
Returns a failed result with its message translated. Successful results are returned unchanged.