|
From: Reini U. <ru...@x-...> - 2001-03-14 22:41:01
|
Jeff Dairiki schrieb:
> >Reini says:
> >date() is not localised, use strftime() instead.
> >but strftime() has a different template syntax. edit index.php also then.
>
> Good observation. Is there a reason we shouldn't switch to using
> strftime rather than date everywhere?
>
> >setlocale("LC_TIME", "german");
yes, there is.
I couldn't figure out which locale on which platform is best, or just works.
at least for german :)
LC_TYPE "german" works for me on win2000 and linux now,
but the recommended settings ("de_GE" or "de_AT") do not work as they should.
(austrians need different sublocales for weekday and month names for
example)
my /usr/share/locale dirs are not very rich on TC_TIME settings. Or I just
cannot find them.
Win2000 has a better native (ie builtin) SDK on this.
> Speaking of which, has anyone tried the latest CVS code to see if
> my hacks to accept international characters in WikiWörter work?
>
> (Steve: alpha/index.php needs to be updated --- new $WikiNameRegexp)
not yet. this is a massive change for existing content.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|