>>>>> I have a webhotel, tryin to get squirrelmail working with the
>>>>> langauge pack but it is not working.
>>>>>
>>>>> I copied both the squirrelmail and locale to the webhotel, and
>>>>> squirrelmail is working, i changed the default language to da_DK -
>>>>> but when i change the language in settings, saves and so on,
>>>>> nothing happens, everything is still english, except for the Help
>>>>> menu, that changes.
>>>>>
>>>>> Squirrelmail: 1.4.6
>>>>> OS: FreeBSD 5.4
>>>>> Apache: 2.0.54
>>>>>
>>>>>
>>>>
>>>> Did you try the suggestions in the FAQ?
>>>> http://www.squirrelmail.org/wiki/TranslateGettext
>>>>
>>>>
>>>>
>>>> Sincerely,
>>>> Fredrik.
>>>>
>>>>
>>>>
>>>
>>> Since this is a webhotel, i cant deside what php gets compiled with
>>> or not, but yes gettext is enabled, but it isnt working.
>>
>> contact your hosting provider and ask to allow setting LC_ variables in
>>  PHP scripts. If you can set these variables in PHP scripts, you will
>> have to modify one SquirrelMail script and disable PHP safe mode test.
>>
>> If you don't want to talk with your hosting provider - rewrite all
>> SquirrelMail scripts and replace gettext calls. Before you start
>> rewriting scripts, remember that you will have to rewrite more than one
>> thousand lines of code and reconsider talking with your provider.
>>
>> --
>> Tomas
>>
>>
>
> Dont think i wanna rewrite then ;)
>
>
> But why isnt it working when the gettext is enabled?
>
>
> How can i test if a LC_ variable is working or not?

check your php settings. http://www.squirrelmail.org/wiki/TestPHPSettings

find variables listed in safe_mode_allowed_env_vars and
safe_mode_protected_env_vars.

LC_ is not one variable. It is prefix used with locale variables.
SquirrelMail should be able to set at least LC_ALL in order to get working
gettext extension on FreeBSD.

-- 
Tomas


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/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

Reply via email to