question

MarvinDacuag-6529 avatar image
0 Votes"
MarvinDacuag-6529 asked RakeshJagatap-4451 commented

Azure ad b2c - Translate username and password on custom policies

127035-translate.png


Hi, are there any ways to translate the placeholders on username and password? I'm currently using a self-asserted page, sadly there are no username and password on the localization string ids provided on the documentation. I am currently using custom policies. Are there any workaround on this?

126995-image.png


azure-ad-b2c
translate.png (9.8 KiB)
image.png (28.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if any of the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·
JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered MarvinDacuag-6529 commented

Hi @MarvinDacuag-6529 , if the language is unsupported you can manually customize the string translations here. Please let me know if this doesn't work for your scenario and I can assist you further.

If this answer helped please mark it as "Verified" so other users may reference it.

Thank you,
James


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Also @MarvinDacuag-6529 , I saw you replied to me in your other post where I posted this link. Did you get it working correctly? Let me know if this method doesn't work and I can look into it more for you.

Best,
James

0 Votes 0 ·

I think the link you gave me again is for user flows not custom policies. Currently im using custom policies. Also some users encountered also this problem.

https://stackoverflow.com/questions/65942340/azure-b2c-password-field-text-and-placeholder

http://5.9.10.113/65942340/azure-b2c-password-field-text-and-placeholder

![127755-image.png][1]


0 Votes 0 ·
image.png (5.5 KiB)

Hi @MarvinDacuag-6529 , thank you for getting back to me. I'm going to escalate this issue and your other post to get you some answers. Ill let you know when I hear back.

Edit: I saw you solved your other question! Did that help at all with this?

Best,
James

0 Votes 0 ·

@JamesHamil-MSFT This is a new issue tho :( can't find another way for translating the placeholder (Username & Password)

0 Votes 0 ·
JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered

Hi @MarvinDacuag-6529 , It's part of the displayName localization of the claim (Localization string IDs - Azure Active Directory B2C | Microsoft Docs)

XML example:

<LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="DisplayName">Display Name</LocalizedString> <LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="UserHelpText">Your display name.</LocalizedString>

I hope this helps!

Best,
James


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.