thub.users.profile.tabs.comments.personalized


I have the same problem with selfasserted 2.1.10. "The password must have the following:" doesn't get localized.

As a workaroud, I've set the value "one-time-code" for attribute "autocomplete" for element emailVerificationCode using javascript and it works fine.

var otpEmailTextBox = document.getElementById("emailVerificationCode");
if(otpEmailTextBox !== null)
{
otpEmailTextBox.setAttribute("autocomplete", "one-time-code");
}

As a workaround, I've made changes in Base.xml file, replacing UserHelpText for PredicateGroup Id="CharacterClasses" (from PredicateValidation Id="StrongPassword") with the translation for my language.
This is not a solution, because I've just hidden the problem for the moment; now if the user changes the language to English, the text is still wrong.

Hi @JamesHamil-MSFT,
Do you have some news about this issue?
In short time I have to go on production and English is not the default language and the customer's requirement is that language customization work correctly.
Thanks for any reply.

My custom policies are very complex and I can't send you all the xml files for testing.
I'm using combined sign up / sign in / forgot password / keep me signed in and for sign up I'm using lots of custom claims.
Also I have a Twilio integration and a custom API for validating data.

xml custom policies files are divided as follows:
- PortalTrustFrameworkBase.xml
- PortalTrustFrameworkLocalization.xml
- PortalTrustFrameworkExtensions.xml
- PortalSignUpOrSignin.xml
- PortalChangeSignInName.xml
- PortalProfileEdit.xml

In selfasserted 2.1.8 you've introduced this feature ("The claim name is added to the class attribute of the <li> HTML element that surrounding the user's attribute input elements.The class name allows you to create a CSS selector to select the parent <li> for a certain user attribute input element.") and I use it.

I've attached two of the xml custom policies files which contains only the relevant information.

155732-trustframeworklocalization-test.xml