$(document).ready(function() {
    var lang = $(document.body).data('lang');
    if(lang !='sv') {
    $("a").not("[href^='http']").not("[class='lang']").each(function(i) {
       console.log(this)
       this.href = this.href+"&l="+lang;
    });
    }
});

