Currently the GetValidationDescription function only applies a locale when passed as a second parameter to the function, but ignores any locale that might be present in header attribute "locale" (such as the Lookup function does).
This should be fixed similar to the Lookup function, by checking the "locale" header, allowing for this to be overridden by a second parameter and falling back on the default language.
Currently the GetValidationDescription function only applies a locale when passed as a second parameter to the function, but ignores any locale that might be present in header attribute "locale" (such as the Lookup function does).
This should be fixed similar to the Lookup function, by checking the "locale" header, allowing for this to be overridden by a second parameter and falling back on the default language.