summaryrefslogtreecommitdiff
path: root/external/gpl2/gettext/dist/gettext-tools/examples/hello-php/README
blob: 1658db36d1a02af0b5c0510959df068a4d2b2b10 (plain)
1
2
3
4
5
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.