> Greetings:
>
> I have been using Squirrelmail 1.4.2 on OpenBSD 3.5 (PHP 4.3.8) since
> May of 2004. Recently I got a report from a user saying that the
> language selection function no longer worked, except for the "Help"
> link. Unfortunately I didn't get this report until 2 or 3 weeks after
> the problem started occurring so I don't know what I might have done to
> cause it.
>
> The users' .pref files are updated correctly:
> $ cat [EMAIL PROTECTED]
> chosen_theme=../themes/default_theme.php
> show_html_default=0
> javascript_on=0
> hililist=a:0:{}
> language=ca_ES
>
> On the OpenBSD list I read that OpenBSD does not support locales. But
> that being the case, I don't understand why SM had been working fine
> changing language options for months. I also don't understand why the
> files under the Help link change languages whereas the others don't.
...
> So then on a test box using OpenBSD 3.6 (PHP 4.3.8) I set up
> Squirrelmail 1.4.3a. In this case, after I change the language setting
> and refresh the Options page, Apache segfaults:
>
> [Mon Dec 27 08:38:59 2004] [notice] child pid 9824 exit signal
> Segmentation fault (11)
>
> Thanks to everyone in advance for your time and trouble.
When translation works only in help section, you have php with gettext
support and php script fails to set system locale or something is wrong
with php gettext extension.
Remove gettext support from your php install or find why it fails. It
might be related to libiconv/libintl changes made by OpenBSD.
In order to use squirrelmail translation with gettext support, php
setlocale(LC_ALL,'ca_ES') function call should not return false and you
must have working gettext install. On squirrelmail 1.4.3a Catalan
translation uses 'ca_ES.ISO8859-1' instead of 'ca_ES'
OpenBSD must implement locales in one way or another. Without them php
gettext extension is useless.
--
Tomas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users