Reloading gettext in PHP

software development

#1

Gettext caches the files it uses and it is typical to restart the web server to update them.

As we can’t restart the web server on shared hosting, how do we proceed to make gettext reload its cached files?


#2

I know this is old - but old posts with no answers bother me (I find them only too frequently in google searches).

The answer isn’t great, but this has a workaround:

http://segfaultlabs.com/devlogs/php-gettext-caching-workaround