I am trying to get the default language from the browser and I use the following code to get it:
var languages = HttpContext.Request.UserLanguages;
You can get the browser language from the Request Headers
Write on your controller:
//For example --> browserLang = 'en-US' var browserLang= Request.Headers["Accept-Language"].ToString().Split(";").FirstOrDefault()?.Split(",").FirstOrDefault();