mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 17:48:41 +00:00
Don't force language
This commit is contained in:
parent
7185461b56
commit
b4348b4410
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@ public class BaseLayout : PageModel
|
||||||
|
|
||||||
private string getLanguage()
|
private string getLanguage()
|
||||||
{
|
{
|
||||||
return "da-DK";
|
|
||||||
IRequestCultureFeature? requestCulture = Request.HttpContext.Features.Get<IRequestCultureFeature>();
|
IRequestCultureFeature? requestCulture = Request.HttpContext.Features.Get<IRequestCultureFeature>();
|
||||||
|
|
||||||
if (requestCulture == null) return LocalizationManager.DefaultLang;
|
if (requestCulture == null) return LocalizationManager.DefaultLang;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue