Show 'submitted by' date in a language different from English I want to change the "submitted by" field. I want to show the date in another language. When I use views to display dates, the date shown is in the correct language.

When I add this to node.tpl.php, the date is in English.

echo date("j F Y", $node-&gt;created);


What is the correct way in Drupal to show the date like "17 december 1978" when the language set in Drupal is Dutch?
Month names are not added automatically.

An elegant way to do this is described here:

https://drupal.org/comment/8251325#comment-8251325

function monthname_install() {
  $months = array(
    'January',
    'February',
    'March',
    'April',
    'May',
    'June',
    'July',
    'August',
    'September',
    'October',
    'November',
    'December',
  );

  $options['context'] = 'Long month name';

  foreach($months as $m) {
    t($m, array(), $options);
  }

  drupal_set_message(t('Month names have been made available for translation. The rest is up to the translation team :-)'));
}