Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
553 views
in Technique[技术] by (71.8m points)

asp.net - Choose specific language in Azure AD B2C signin page from .net core webapp

I am having a .net core webapp (.net core 5.0) and an Azure AD B2C tenant.

After some work, the login is working.

But the login is always showing the English locale.

However I want it to always use German. I have activated the German locale in the user flow.

I am able to run the German user flow from the portal and I am aware of the

&ui_locales=de

url param.

But how do I configure the razor part accordingly?

<!-- tell the asp-action to use german locale-->
<a asp-area="MicrosoftIdentity" asp-controller="Account" asp-action="SignIn">Anmelden</a>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...