NetBSD, apache and php-gettext

March 30th, 2005 by konrad Leave a reply »

After spen­ding ent­i­rely too many hours debug­ging the thing, I just found out that just set­ting the lan­guage domain with setlocale is not enough. At least with apache-1.3, you also have to set the environ­ment varia­ble „LANG“ with putenv. Now, the loca­li­zed app­li­ca­ti­ons show their beauty in all languages.

Advertisement

Leave a Reply