Codeigniter için jQuery File Upload entegresi var normal şartlarda çalışıyor ancak i18n çoklu dil kütüphanesini kurunca json ile alakalı bir problem çıkıyor tek sıkıntı yükleme yaparken "Empty file upload result" hatası vermesi controller dosyasında bu hatayı neden verebileceğinide yazıyor ancak çözümü araştırmalarıma rağmen halen bulamadım.. Controller dosyasında hatayı neden vereceğini yazdığı kısımdaki kodlar aşağıda. normalde takır takır çalışıyor ancak i18n ile birlikte kullanınca sıkıntı oluyor. i18n sitenin sonuna dil kodu ekliyor siteadi.com/tr/ siteadi.com/en/ gibi ben bu ektende bu dosyayı muaf tuttum ekler olmadanda deniyorum ancak yine fayda etmedi. Bu sorunu nasıl çözeriz?

//set the data for the json array
            $info = new StdClass;
            $info->name = $data['file_name'];
            $info->size = $data['file_size'] * 1024;
            $info->type = $data['file_type'];
            $info->url = $upload_path_url . $data['file_name'];
            // I set this to original file since I did not create thumbs.  change to thumbnail directory if you do = $upload_path_url .'/thumbs' .$data['file_name']
            $info->thumbnailUrl = $upload_path_url . 'thumbs/' . $data['file_name'];
            $info->deleteUrl = base_url() . 'upload/deleteImage/' . $data['file_name'];
            $info->deleteType = 'DELETE';
            $info->error = null;

            $files[] = $info;
            //this is why we put this in the constants to pass only json data
            if (IS_AJAX) {
                echo json_encode(array("files" => $files));
                //this has to be the only data returned or you will get an error.
                //if you don't give this a json array it will give you a Empty file upload result error
                //it you set this without the if(IS_AJAX)...else... you get ERROR:TRUE (my experience anyway)
                // so that this will still work if javascript is not enabled
            } else {
                $file_data['upload_data'] = $this->upload->data();
                $this->load->view('upload/upload_success', $file_data);
            }