parent
73c58ad844
commit
9f48774af3
@ -91,8 +91,8 @@ public static class LanguageProvider
|
||||
_log.Debug("HttpContext.Current.Session['redirected'] = null");
|
||||
try
|
||||
{
|
||||
var currentRegionDbEntity = MultiRegionHelper.Instance.GetRegionDbEntityFull();
|
||||
var priorityLng = currentRegionDbEntity.Lang;
|
||||
var currentIPGeo = MultiRegionHelper.Instance.GetIPGeolocationInfoFull();
|
||||
var priorityLng = currentIPGeo.Lang;
|
||||
if (!String.IsNullOrEmpty(priorityLng)) {
|
||||
var acceptLng = HttpContext.Current.Request.Headers["Accept-Language"];
|
||||
if (!string.IsNullOrEmpty(acceptLng))
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user