Hi,
I am make using of Azure custom policies and am unable to find out how to translate the globalexception page.
I would expect to be able to translate the error heading and error description, but there is no mention of how to do this via the official documentation - https://zcusa.951200.xyz/en-us/azure/active-directory-b2c/localization-string-ids
The data contract that is being used is:
urn:com:microsoft:aad:b2c:elements:contract:globalexception:1.2.6
Attempted to use the following translations but does not work:
<LocalizedResources Id="api.error.en">
<LocalizedStrings>
<LocalizedString ElementType="UxElement" StringId="heading">Reset your password</LocalizedString>
<LocalizedString ElementType="ErrorMessage" StringId="DefaultError">An error occurred. Please try again.</LocalizedString>
</LocalizedStrings>
</LocalizedResources>
The Javascript best practices also mentions using the custom policies for translating error messages but does not provide examples of how - https://zcusa.951200.xyz/en-us/azure/active-directory-b2c/javascript-and-page-layout?pivots=b2c-custom-policy#guidelines-for-using-javascript
Example screenshot