How do you use gettext on server (Apache) you can’t restart?
call clearstatcache();
after making translation from *.po
to *.mo
the post here on the gettext function has some information for making gettext work without restarting apache:
You can rename your *.mo file and your gettext domain to flush gettext cache without restarting apache server.But in production environment,it's unsuitable.