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';
console.log(window.navigator.language);
if (window.navigator.language.includes('de')) {
if (!window.navigator.language.includes('de')) {
currentLang = 'en';
}
function localize() {