Php on docker : Using setLocale
You need to reconfigure your locales:
RUN locale-gen fr_FR.UTF-8 && dpkg-reconfigure locales
And you might need (but I don't know exactly under which circumstances) to add LC_ALL
and LANGUAGE
environment variables to /etc/environment
:
LC_ALL=...
LANGUAGE=...