• 10-02-2024, 23:30:24
    #10
    Allah kolaylıklar versin dostum.
  • 10-02-2024, 23:31:16
    #11
    DiZiNi adlı üyeden alıntı: mesajı görüntüle
    Allah kolaylıklar versin dostum.
    ellerinize emeginize Salik tesekkur ederim
  • 11-02-2024, 00:06:15
    #12
    <script>
     
        var path = window.location.href;     // Bulundugun URL ak ve path yazdir
        // Dil değişikliğini işle
        function changeLanguage(lang) {
            var data = {
                "action": "change_language",
                "lang": lang
            };
            var xhr = new XMLHttpRequest();
            xhr.open("POST", "translator.php", true);
            xhr.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            xhr.onreadystatechange = function() {
                if (xhr.readyState == 4 && xhr.status == 200) {
                    console.log(xhr.responseText);
                    
                        window.location.href = path;     // path a yonlendir
                        
                }
            };
            xhr.send(JSON.stringify(data)); // Veriyi JSON formatında gönder
        }
    </script>
    Merhaba arkadaslar. uzun suredir urasdim en son cozumunu deniyerek buldum kesin cozum budur.!

    @DiZiNi; emegi cok gecdi tesekkur ederim hersey icin