<?php
$text = 'Am {dateval,date,full} waren es {visitor,number,integer} Besucher.';
$msgDe = new MessageFormatter('de_DE', $text);
$msgCh = new MessageFormatter('de_Ch', $text);
$args = array(
'visitor' => 1240000,
'dateval' => new DateTime(),
);
echo $msgDe->format($args);
echo PHP_EOL . '----' . PHP_EOL;
echo $msgCh->format($args);