French date format
<p>I am a newbie in PHP &amp; wordpress. I wanted to know how to make this codde renders the date formating in french (e.g. 5 Fev) when your on the french side but in english format in English (e.g. Jan 5)</p>

<p>Here is my code:</p>

<pre><code>&lt;?php
if (strtolower(ICL_LANGUAGE_CODE) == 'en') {$sidePosts = get_posts('cat=3,4,5,19&amp;posts_per_page=5&amp;order=DESC&amp;orderby=date');}
if (strtolower(ICL_LANGUAGE_CODE) == 'fr') {$sidePosts = get_posts('cat=9,10,11,17&amp;posts_per_page=5&amp;order=DESC&amp;orderby=date');}
foreach($sidePosts as $sidePosts) {
    $array = (array) $sidePosts;
    print("&lt;li&gt;");
    print("&lt;span class='date'&gt;".get_the_time('M j', $array[ID])."&lt;/span&gt;");
    print("&lt;a href='".get_permalink($array[ID])."' title='".$array[post_title]."'&gt;".$array[post_title]."&lt;/a&gt;");
    print("&lt;/li&gt;");
}
?&gt;
</code></pre>
