Fix language bug again

This commit is contained in:
Christoph Hagen 2022-03-27 15:02:38 +02:00
parent fe5d1e6939
commit a18afd8a1d
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ didAcceptInvitation = localStorage.getItem('registered');
var currentLang = 'de'; var currentLang = 'de';
console.log(window.navigator.language); console.log(window.navigator.language);
if (window.navigator.language.includes('de')) { if (!window.navigator.language.includes('de')) {
currentLang = 'en'; currentLang = 'en';
} }
function localize() { function localize() {

View File

@ -17,7 +17,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="assets/festival.css?v=3"> <link rel="stylesheet" type="text/css" href="assets/festival.css?v=3">
<script src="assets/festival.js?v=12"></script> <script src="assets/festival.js?v=13"></script>
</head> </head>
<body> <body>
<div class="wrapper"> <div class="wrapper">

View File

@ -17,7 +17,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="assets/festival.css?v=3"> <link rel="stylesheet" type="text/css" href="assets/festival.css?v=3">
<script src="assets/festival.js?v=12"></script> <script src="assets/festival.js?v=13"></script>
</head> </head>
<body> <body>
<div class="wrapper"> <div class="wrapper">