I had lot's of trouble getting gettext to work with php
on solaris8.
At the end I found out, that setting NLSPATH correctly
does help. So this if my suggested fix:
functions/i18n.php:
if ( !ini_get('safe_mode') &&
getenv( 'LC_ALL' ) != $sm_notAlias ) {
putenv( "LC_ALL=$sm_notAlias" );
putenv( "LANG=$sm_notAlias" );
+ putenv( "NLSPATH=../locale/%l");
putenv( "LANGUAGE=$sm_notAlias" );
}
Logged In: YES
user_id=285765
Sounds reasonable. What do you think Tomas?
Logged In: YES
user_id=225877
We would have to modify NLSPATH on every bindtextdomain
call. SquirrelMail uses more than one directory to store
translations.
I would rather remove NLSPATH setting. Check SunOS gettext
manual. It uses directories that are set in NLSPATH only
when this environment variable is set.
Currently I am waiting for SF compile farm to become usable
and will try to find some time to compile and test php on
solaris, but I don't give any time estimates about
resolution of this bug.