<?php
function degis($turkce){
$yabancikelimeler=array("January","Feburary","March","April","May","June","July","August","September","October","November","December","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday","-");
$turkcekelimeler=array("Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi","Pazar"," ");
$degistir=str_replace($yabancikelimeler,$turkcekelimeler,$turkce);
return $degistir;
}
$nezaman=degis($gun=date("d-F-l-Y"));
echo "$nezaman";
?>