Locale problem on subpages

Now it works on all pages with this:

<?php
setlocale(LC_ALL, 'de_DE.utf-8');
?>

Strange.