add language prefix to AJAX urls