[RCD] localization -> setlocale

moish moish at mln.co.il
Thu May 29 13:19:36 CEST 2008


I'd like some peer's comments:
1. You may use rcube_language_aliases variable in
program/localization/index.inc
   The system use rcube_languages or rcube_language_aliases to set the
locale.
2. config/main.inc sets the default locale

BTW, index.inc defines also charset other then the default

On Thu, 29 May 2008 11:51:34 +0200,  wrote:
> Currently I'm working on folders list sorting and see locale issue. In 
> roundcube we've got setlocale(LC_ALL, 'xx') where 'xx' is a selected 
> language. For Polish it's 'pl', but we need 'pl_PL.UTF-8' for proper 
> sorting. I propose to add locale.inc file with that definition in 
> localization folders or just add label 'localename' with specified 
> value. Not sure what will be better.
> 
>
-- 

Moish

_______________________________________________
List info: http://lists.roundcube.net/dev/



More information about the Dev mailing list