[Python-il] Newbie question: localizing dates without setlocale
Udi h Bauman
dibaunaumh at gmail.com
Tue Feb 19 12:13:06 IST 2008
Hi,
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
setlocale?
Thanks a lot in advance!
Udi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://hamakor.org.il/pipermail/python-il/attachments/20080219/e5a88cb0/attachment.htm
More information about the Python-il
mailing list