Fix language bug
This commit is contained in:
parent
c2521cab32
commit
de5e684d12
@ -4,7 +4,8 @@ registeredName = localStorage.getItem('name');
|
|||||||
didAcceptInvitation = localStorage.getItem('registered');
|
didAcceptInvitation = localStorage.getItem('registered');
|
||||||
|
|
||||||
var currentLang = 'de';
|
var currentLang = 'de';
|
||||||
if (window.navigator.language != 'de') {
|
console.log(window.navigator.language);
|
||||||
|
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=10"></script>
|
<script src="assets/festival.js?v=12"></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=11"></script>
|
<script src="assets/festival.js?v=12"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
Loading…
Reference in New Issue
Block a user