Home > Software design >  Azure B2C Dual Language Custom User Flow Template
Azure B2C Dual Language Custom User Flow Template

Time:10-26

I've created a custom template for B2C Sign In User flow. I wanted to add instruction text on the top of the page in 2 languages, so I created 2 templates, uploaded them to folders in blob storage.

When I insert a link to the User flow it is working for separated languages, but once I add a wildcard value {Culture:RFC5646} (which is recommended on MS docs) it doesn't work.

Have you got any ideas or advices of how this needs to be done?

Just to add another issue to this: the language is custom.

Thanks!

CodePudding user response:

The language customization feature allows Azure AD B2C to pass the OpenID Connect parameter ui_locales to your endpoint. Your content server can use this parameter to provide language-specific HTML pages. The important thing is that the parameters must be passed in here.

enter image description here

Reference : azure b2c - custom UI - localize custom label

CodePudding user response:

I managed to find the answer.

Instead of {Culture:RFC5646} I've added {Culture:LanguageName} and it fixed the issue!

Link below:

Question about Culture:RFC5646 and ContentDefinitions

  • Related