[Python-il] Newbie question: localizing dates without setlocale
Udi h Bauman
dibaunaumh at gmail.com
Tue Feb 19 12:13:06 IST 2008
I have a small question which I hope one of you experts will be kind enough
to help with.
I wrote a web page which I need to translate to different languages (
http://staging.daylight-savings-time.info). I need to translate the day &
month names, which I generate using *strftime*. I need it to output the date
parts for a given locale. I've tried using setlocale, but it apparently
affected the full python process at the web server (it's a Django app) & all
user sessions. Is there a way to generate dates for a given locale without
Thanks a lot in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-il