<?php if($loc_de = setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu')) {
echo "<p>Preferred locale for German on this system is \"$loc_de\".<br />";
echo 'Guten Morgen! Heute ist ' . strftime('%A %d %B %Y', mktime()) . ".</p>\n";
} else
echo "<p>Sorry! This system doesn't speak German.</p>\n";
?>