Facile, use strftime et setlocale .
setlocale(LC_ALL, 'fr_FR.utf-8'); // ou LC_TIME echo strftime('%A'); "lundi"
Note that the la version utf-8 si tu utility is present in unicode unicode, sinon, la version normale te donnera du iso-8859-1 (5).
In English, for the rest of the community, strftime follows a set of locales and uses glibc (in the background). If date will always return to English strftime will respect setlocale and give you the expected result in your language.
greut source share