Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Installing locales for strftime()
May 8, 2007, 11:00 am
rate this thread
by definition, strftime() uses the previous setlocale() calls to
determine which language to use in returning strings such as week days
or month names, depending on the given format.
Now, my system seems not to have the necessary packages installed,
since I always get "Monday" and "March" etc. whichever language I
specify. (No help needed for specifying languages, since gettext()
works without problems, which means setlocale() went fine).
I tried installing some packages from the Internet, but these are only
for KDE language support, and they seem not to have impact on apache,
My questions are:
- what does this depend on - Apache configuration, PHP configuration,
kernel configuration, some independent package installation?
- where do I find these packages (I use slamd64 - Slackware AMD64)
- how do I install these (if you help me find them, since google-ing
until now didn't help much)
If my configuration specification necessary, here it is:
Kernel info: Linux 220.127.116.11 #2 SMP Wed Jan 17 17:49:26 CET 2007 x86_64
I need support for more than one language, eg. German, French,
Serbian, Swedish, Russian, etc. No need for far-east languages at the
Thank you in advance, any idea?