Paul Horton wrote:

> It's also possible to call setlocale() at run time to alter PHP's 
> interpretation of data.

So, roundcube uses such code:

     // set localization
     setlocale(LC_ALL, $_SESSION['language'] . '.utf8', 'en_US.utf8');

     // workaround for http://bugs.php.net/bug.php?id=18556
     if (in_array($_SESSION['language'], array('tr_TR', 'ku', 'az_AZ')))
       setlocale(LC_CTYPE, 'en_US' . '.utf8');

I'm using pl_PL.utf8, and en_US.utf8.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to