mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 16:46:33 -04:00
The gettext/PHP binding has a limitation: While it works fine for standalone PHP programs, it cannot be used inside a web server, to translate parts of web pages into the preferred encoding of user that makes a HTTP connection. The reason is that a web server usually is multithreaded, and the gettext() API relies on the process' global locale.