GNOME Bugzilla – Bug 152501
libxslt doesn't support lang attribute on xsl:sort out-of-the-box
Last modified: 2008-06-12 09:46:32 UTC
According to XSLT spec: "lang specifies the language of the sort keys; it has the same range of values as xml:lang [XML]; if no lang value is specified, the language should be determined from the system environment" It would be very useful if libxslt can use collating provided by underlying OS or libc when lang attribute is specified on xsl:sort. This will allow ordinary users to use localized sorting in their stylesheets (without need for recompiling libxslt against ICU what is task far beyond capabilities of most users).
Thanks for opening the bug. For reference on the API to use http://people.redhat.com/drepper/tllocale.ps.gz Daniel
I think that's now fixed with the commit of Nick Wellnhofer in the upstream SVN, Daniel