> I have upgraded from version 1.2.10 to 1.4.3a. But then the language
> translation does not work.
> When I change back to 1.2.10 it works again.
> What can I do?
> I have PHP 4.3.x installed

Make sure that you have Danish system locale in ISO-8859-1 charset. Older
squirrelmail versions set translation with setlocale(LC_ALL,'da_DK'),
1.4.3 and 1.5.1cvs set it with setlocale(LC_ALL,'da_DK.ISO8859-1'). It is
done, because BSD systems require full locale name or they revert to ASCII
charset.

php gettext should work correctly, if you have da_DK system locale that is
compiled with iso-8859-1 charset. It should work if you have
da_DK.ISO8859-1 or da_DK.ISO-8859-1 system locales. Translation does not
work, if you have da_DK system locale that is compiled with ISO-8859-15 or
UTF-8 charsets and da_DK.ISO8859-1 system locale is missing.

Setting locale only with short name might convert translations to
incorrect charset if you use php older than 4.2 or FreeBSD system. It can
also break character case conversion rules and sorting order.

It is possible that most of European translations have to be converted to
ISO-8859-15 or UTF-8, because ISO-8859-1 charset does not support Euro
symbol.

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