Home > Software design >  Add language change button for Azure AD b2c
Add language change button for Azure AD b2c

Time:06-14

I have Azure AD b2c authentication in my application, how do I add Azure Ad b2c language change button in my login page, I need to add language change button in my login page if a user click on EN or FR buttons the login should display accordingly.

I went through Microsoft docs: https://docs.microsoft.com/en-us/azure/active-directory/external-identities/user-flow-customize-language but I couldn't find anything talking about it.

CodePudding user response:

It should be default behaviour, either by specifying "ui_locales" as a query parameter or directly supported by your browser.

CodePudding user response:

You’ll need to create a control in your custom HTML, eg a drop down to select language. Then, when the user select a new language, refresh the page with the respective ui_locales parameter in the URL.

  • Related