Debian CVS joy wrote: > Update of /cvs/webwml/webwml/english/template/debian > In directory klecker:/tmp/cvs-serv7835 > > Modified Files: > languages.wml > Log Message: > added locale setting so that sorting starts working according to locales > > --- /cvs/webwml/webwml/english/template/debian/languages.wml 2001/06/02 > 21:22:21 1.78 > +++ /cvs/webwml/webwml/english/template/debian/languages.wml 2001/06/09 > 17:24:33 1.79 > @@ -85,6 +85,14 @@ > # DO NOT translate anything below here. > # If you feel something needs to be modified, write to debian-www first. > > +<when "$(CUR_LOCALE)"> > + <perl> > + use locale; > + use POSIX; > + setlocale(LC_ALL, "$(CUR_LOCALE)"); > + </perl> > +</when> > + > sub langcmp { > my ($first, $second) = ($a, $b); > # Handle sorting of non-latin characters
Please add some blurb to devel/website/"on translation" if you haven't done that already. On a related note, is it possible to distribute $CUR_DIR from Makefile into wml? If so, we could use '#include "$(ENGLISHDIR)/$(CUR_DIR)/file"' instead of static paths components. Regards, Joey -- This is Linux Country. On a quiet night, you can hear Windows reboot.