Hi @Matthew Bramfeld ,
Thanks for reaching out and apologies for delay in response.
I understand you are looking to set error messages with reference to ClaimsTransformation when two claims are not equal and error message need to set.
LocalizedString doesn't allow to set any ReferenceId to the claims Transformation. Although you can localize the claims transformation error messages based on the IDs which in this case is UserMessageIfClaimsTransformationBooleanValueIsNotEqual for different Localized resources in various languages as mentioned below:
<LocalizedResources Id="api.localaccountsignup.en">
<LocalizedStrings>
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">Your email address hasn't been verified.</LocalizedString>
</LocalizedStrings>
</LocalizedResources>
<LocalizedResources Id="api.signuporsignin.es">
<LocalizedStrings>
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">Su dirección de correo electrónico no ha sido verificada</LocalizedString>
</LocalizedStrings>
</LocalizedResources>
Hope this will help.
Thanks,
Shweta
---------------------
Please remember to "Accept Answer" if answer helped you.