Kod içindeki ingilizce cumleleri ve ay adlarını türkçeleştirdim.
İlk seçim yapılırken türkçe oldu aylar (RESİM1) ama hesapladıktan sonra çıkan sonuçta hala ingilizce çıkıyor (RESİM2). Sanırım sonuçları başka bir yerden çekiyor ama php bilgim kısıtlı oldugundan anlayamadım.
Bunu nasıl düzelteblirim yardımcı olabilirmisiniz.
saygılar.
Resim1:

Resim2:

SAYFANIN KODLARI:
<?php /*
Template Name: yumurtlama
*/
?>
<?php get_header(); ?>
<div id="container">
<div id="partOne">
<div id="header">
<div id="content">
<div id="topleft">
<div id="headermenu">
<div id="topmenu">
<ul class="pages">
<?php wp_list_pages('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>
</ul>
</div>
</div>
<div class="clear"></div>
<p class="home"><a href="<?php echo get_option('home'); ?>/">Ana Sayfa</a></p>
<?php
/* This calculator is your for free by Calendarscripts.info. You have no obligations for anything - you can modify, redistribute, sell it or whatever you want to do.
We will appreciate if you don't remove the link at the bottom, but that's not required. */
?>
<style type="text/css">
.calculator_table
{
font-size:11px;
font-family:verdana, arial, sans-serif;
border:2pt solid #4444FF;
padding:25px;
width:300px;
height:200px;
}
</style>
<?php
if(!empty($_POST['calculator_ok']))
{
//last cycle date
$date="$_POST[dateyear]-$_POST[datemonth]-$_POST[dateday]";
//convert to time
$lasttime=mktime(0,0,0,$_POST[datemonth],$_POST[dateday],$_POST[dateyear]);
//first fertile day
$firstdaytime=$lasttime + $_POST[days]*24*3600 - 16*24*3600;
$firstday=date("F d, Y",$firstdaytime);
//last fertile day
$lastdaytime=$lasttime + $_POST[days]*24*3600 - 12*24*3600;
$lastday=date("F d, Y",$lastdaytime);
//have to adjust due date?
$diff=$_POST[days] - 28;
//due date $date + 280 days
$duedatetime=$lasttime + 280*24*3600 + $diff*24*3600;
$duedate=date("F d, Y",$duedatetime);
?>
<div class="calculator_table">
Girdiğiniz tarih bilgilerine göre :<br /><br />
Gebelik için sonraki en uygun döneminiz <strong><?=$firstday?> ile <?=$lastday?></strong>.<br ><br />
Eğer bu tarihler arasında bebek sahibi olmaya karar veririseniz tahmin edilen doğum yapma tarihiniz: <strong><?=$duedate?></strong> olacaktır.
<p align="center"><input type="button" value="Yeniden Hesapla!" onclick="javascript:history.back();"></p>
</div>
<?php
}
else
{
//the calculator comes here
?>
<div class="calculator_table">
<form method="post">
Lütfen son adet tarihinizin başladığı günü seçiniz:<br /><br />
<?=date_chooser("date",date("Y-m-d"))?><br><br>
Kaç günde adet olduğunuzu seçiniz: <select name="days">
<?php
for($i=20;$i<=45;$i++)
{
if($i==28) $selected='selected';
else $selected='';
echo "<option $selected value='$i'>$i</option>";
}
?>
</select>
<p align="center"><input type="submit" name="calculator_ok" value="Hesapla"></p>
</form>
<p align="center"><a href="http://www.hamilemiyim.net">Yumurtlama Gününü Hesaplayın</a></p>
</div>
<?php
}
//to print a date chooser - get name and value in mysql date format
function date_chooser($name,$value="")
{
$months=array('','Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos',
'Eylül','Ekim','Kasım','Aralık');
if(empty($value)) $value=date("Y-m-d");
$parts=explode("-",$value);
$day=$parts[2]+0;
$month=$parts[1]+0;
$year=$parts[0];
$chooser="";
$chooser.="<select name=".$name."month>";
for($i=1;$i<=12;$i++)
{
if($i==$month) $selected='selected';
else $selected='';
$chooser.="<option $selected value=$i>$months[$i]</option>";
}
$chooser.="</select> / ";
$chooser.="<select name=".$name."day>";
for($i=1;$i<=31;$i++)
{
if($i==$day) $selected='selected';
else $selected='';
$chooser.="<option $selected>$i</option>";
}
$chooser.="</select> / ";
$chooser.="<select name=".$name."year>";
for($i=(date("Y")-1);$i<=2050;$i++)
{
if($i==$year) $selected='selected';
else $selected='';
$chooser.="<option $selected>$i</option>";
}
$chooser.="</select> ";
return $chooser;
}
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="postfull">
<h1><a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a></h1>
<div class="date">
<?php the_date(); ?>
<?php edit_post_link(__(' - Edit'), '', ''); ?>
</div>
<div class="storycontent">
<?php the_content(__(' devamı »'));?>
</div>
<?php wp_link_pages(); ?>
<div class="feedback">
<p>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</p>
</div>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<div id="bnav">
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('| Next Entries »') ?>
</div>
</div>
<?php include('top-right.php'); ?>
<div class="clear"></div>
</div>
</div>
</div>
<div class="clear"></div>
<div id="partTwo">
<?php get_sidebar(); ?>
</div>
<div class="clear"></div>
<?php get_footer(); ?>
<p class="foot">
<!-- Sayyac script START -->
<script type="text/javascript">
<!--
var sayyac_login = 'ege';
//-->
</script>
<script type="text/javascript" src="http://www.sayyac.com/sys.js"></script>
<noscript>
<a href="http://www.sayyac.com/extreme.php?stat=2&login=ege" target="_blank" title="Bedava sayac,istatistik hizmeti,free counter,Statistics service">
<img src="http://www.sayyac.com/stat.php?login=ege" alt="Bedava sayac,istatistik hizmeti,free counter,Statistics service" title="Bedava sayac,istatistik hizmeti,free counter,Statistics service" border="0" />
</a>
</noscript>
<!-- Sayyac script END --> - <a href="http://www.hamilemiyim.net/" target="_blank" title="gebelik">gebelik</a> - <a href="http://www.cinselsorular.com" title="doğum , gebelik , hamilelik , cinsellik , kızlık zarı , haydar dümen , cinsel sorunlar" target="_blank">doğum</a> - <a href="http://hocanasrettin-nasreddin.blogspot.com/" target="_blank" title="nasrettin hoca fıkraları">nasrettin hoca fıkraları</a> - <a href="http://gebelik.org/" target="_blank" title="gebelik">gebelik</a>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5163892-1");
pageTracker._trackPageview();
</script>
</body>
</html>