>>What OS you are using? Which translation?
>>
>>the main difference between 1.2.x-1.4.2 and 1.4.3a is
>>
>>http://cvs.sf.net/viewcvs.py/squirrelmail/squirrelmail/functions/i18n.php?r1=1.129.2.18&r2=1.129.2.19
>>
>>and setlocale calls in set_my_language function that use
>>$languages['xx_XX']['LOCALE'] value, if it is set.
>>
>>If help is working and main translation is not working,
>>a) setlocale call failed and locale is not set to your language
>>b) squirrelmail.mo files are missing.
>>c) squirrelmail.mo files are compiled for different endian architecture.
>>
>>The third part is only guess. I don't have big endian machine for
>> testing.
>>
>>If you name your translation, I can provide script that tests your system
>>locales.
> I have:
> Mandrake 9.1, kernel 2.4.21, mod_PHP 4.3.1,locales-2.3.1.4-6,
> locales-da-2.3.1.4-6
> Bj?rn
> PS from my locales:
>
> [EMAIL PROTECTED] root]# local -a
> bash: local: can only be used in a function
> [EMAIL PROTECTED] root]# locale -a
> C
> CP1251
> da
> da_DK
> da_DK.ISO-8859-1
> da_DK.ISO-8859-15
> da_DK.UTF-8
> danish
> dansk
> en
> en_AU
> cut here

After modifications made by Mandrake glibc does not ignore hyphens in
locale name. Or after modifications made by Debian glibc ignores them.

open functions/i18n.php file, find line with

$languages['da_DK']['LOCALE']  = 'da_DK.ISO8859-1';

and replace it with

$languages['da_DK']['LOCALE']  = 'da_DK.ISO-8859-1';

or disable it by putting two slashes in front of line.

//$languages['da_DK']['LOCALE']  = 'da_DK.ISO8859-1';

-- 
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

Reply via email to