Closed beckjin closed 6 years ago
As follows:
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Accept-Language:en-US,zh-CN;q=0.8,zh;q=0.6,en;q=0.4
I want to get the language that has been matched.
The GetPrincipalAppLanguageForRequest extension method to HttpContext can be called to access the PAL of the current request.
That should be it.
As follows:
I want to get the language that has been matched.