How to translate help texts and error messages in Azure AD B2C phone sign-up/sign-in?
I have trouble using the localization feature for Azure AD B2C as some texts seem not to be translatable.
There's this weird "pledge" in the documentation here https://video2.skills-academy.com/en-us/azure/active-directory-b2c/language-customization?pivots=b2c-user-flow#up-to-date-translations, which promises up-to-date translations from Microsoft. However, this is obviously not true. But more importantly, there are places where even providing one's own translations - at least for built-in flows - is not possible.
STEPS TO REPRODUCE
- Configure a built-in phone sign-in/sign-up flow for local accounts (SMS only, no e-mail recovery)
- Go to the user sign-up page (sign-in page works as expected)
- Type some letters in the phone number input field and see "The value entered needs to be a phone number." error message in English
- Attempt to change the error message
EXPECTED RESULTS
I am able to change/translate the error message.
ACTUAL RESULTS
No apparent ability to translate the error message. The default localized string
{
"ElementType": "Predicate",
"ElementId": "internationalOrNationalPhoneNumber",
"StringId": "HelpText",
"Override": true,
"Value": "The value entered needs to be a phone number."
}
used in local account sign-up and unified sign-up/sign-in does not seem to apply for phone sign-in/sign-up pages.