在荷兰获得月份名称[重复]

This question already has an answer here:

Im trying to get my date out of the DB in duth. Im spliting the date into seperate month, day and year variables and changed the month number to text but now i need to get in into dutch instead of english. I found some information on SO about it like setlocale(LC_ALL, 'nl_NL') but i cant get it to work.

<?php

      include_once("db/db.php");
      $statement = $db_con->prepare("select * from news_article where id > :id");
        $statement->execute(array(':id' => 0));
      $list = $statement->fetchAll(PDO::FETCH_ASSOC);
    ?>    
<?php
    foreach($list as $col)
    {
      // splitting into seperate month day year
      $orderdate = explode('-', $col['datum']);
      $year = $orderdate[0];
      $month   = $orderdate[1];
      $day = $orderdate[2];

      $dateObj   = DateTime::createFromFormat('!m', $month);
      $monthName =
      $dateObj->format('F');


      ?>
//this needs to output in dutch
<p class="month"><?php echo $monthName  ?></p>
</div>
<?php
$f = date('F');
    function dutch_format($value) {

        $months = array(
            "January"   => "januari",
            "February"  => "februari",
            "March" => "maart",
            "April"     => "april",
            "May"       => "mei",
            "June"      => "juni",
            "July"      => "Juli",
            "August"    => "augustus",
            "September" => "september",
            "October"   => "oktober",
            "November"  => "november",
            "December"  => "december"
        );

        return $months[$value];
    }
    echo $f;
    echo "<br/>";
    echo dutch_format($f);
?>

It will return DUTCH format. Guide me if I did any mistake