Changing language after the first page

Mathieu Fortin-Boulay 16 Reputation points

I have a link in my AD B2C custom HTML template to switch the language from English to French and vice-versa, by changing the ui_locales parameter in the URL and reload the page.

It works well for the first page, but if the user goes into a second page (for example, sign up page accessed from sign in page), when the user clicks on the language switch link, they are brought back to the first page and the language hasn't changed. Plus the switch link doesn't work anymore.

For example:
First page (sign-in):

Second page (sign up):

After clicking the language switch link in the sign up page: (but the page is in English)

Am I missing something or there's no way to accomplish what I want? I'm using custom policies btw.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,757 questions
{count} votes