views:

106

answers:

2

Hi.

I need the return of a strftime() call being in a language different at the one set on my local machine/OS. Is that possible to choose the language of the return?

+1  A: 

For solid i18n/L10N, usable by a server which must serve different localizations within the same run, I keep recommending PyICU, the Python layer on top of ICU, the International Components for Unicode open-source package. Other approaches tend to be pretty limited and fragile:-(.

Alex Martelli
A: 

Try the babel library: http://babel.edgewall.org/wiki/Documentation/dates.html

Steven