Hi,
When a contend is published the date in submitted div isn't localized.
I'm actually on a French localized site and the publishing day is always in English event if French is the default language.
I've a workaround but it changes the theme's 1.0 displaying.
I've replaced
<?php print t('Posted by') . ' ' . $name; ?> <?php print t('on') . ' ' . $date; ?>
with
<?php print $submitted; ?>
Comments
Comment #1
dpriore commentedhere is the correct way to localize "submitted by" end relative date
Change to:
<?php print t('Posted by') . ' ' . $name; ?> <?php print t('on') . ' ' . format_date($node->created, $type = 'medium', $format = '', $timezone = NULL, $langcode = NULL); ?>This solve this issue.