Fix language bug again
This commit is contained in:
parent
fe5d1e6939
commit
a18afd8a1d
@ -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() {
|
||||||
|
@ -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">
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user