Fixed html lang is static

This commit is contained in:
2025-11-28 09:21:54 +01:00
parent 8bc76ccf0b
commit bd7d7d5fbb

View File

@@ -1,11 +1,13 @@
@using Microsoft.AspNetCore.Mvc.Localization
@using System.Security.Claims
@using System.Globalization
@inject IViewLocalizer T
@{
bool IsAuthenticated = User.Identity?.IsAuthenticated ?? false;
}
<!DOCTYPE html>
<html lang="en">
<html lang="@CultureInfo.CurrentUICulture.TwoLetterISOLanguageName">
<head>
<meta charset="utf-8" />
<meta name="description" content="Hardware asset management tool" />