[i18n] locale-based sort, new suggestion

Chuck Hagenbuch chuck at horde.org
Wed May 11 16:46:55 PDT 2005


Quoting persian-horde at metanetworking.com:

> We can use from $nls['localesort'] in horde nls.php file which specifies
> the locales which need imap_locale_sort, and in the code we use
> imap_locale_sort for this locales only:

No. This is specific to imap_sort, not other kinds of sorting - it 
belongs just in IMP.

> We can also avoid the above "if ", if we could somehow override the
> imap_sort function in specific locales. For this to work we should have a
> similar argument list for both imap_sort and imap_locale_sort, which can
> be done by omitting $locale from argument list and filling its value
> inside the imap_locale_sort:

I don't think that's necessary.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the i18n mailing list