Re: localize custom commands

2012-02-08 Thread ScOut3R
Dear Anssi, thank you for the quick answer. It worked like a charm! I've used translation.activate(). Best regards, Mate On Feb 8, 10:50 pm, akaariai <akaar...@gmail.com> wrote: > On Feb 8, 10:44 pm, ScOut3R <gabrim...@gmail.com> wrote: > > > Dear Django users, > &

localize custom commands

2012-02-08 Thread ScOut3R
Dear Django users, i'm trying to figure out how to localize strings in a custom command. My command sends out emails with static strings defined in the [command].py file. Makemessages picks up these strings but the outgoing email's contents are in the original locale not the one which is set in

fastcgi and new translation

2011-04-26 Thread ScOut3R
Dear List, I have some issues with runfcgi and translations. I'm running the fastcgi processes from runit with this: /usr/local/bin/python /path/to/manage.py runfcgi daemonize=false method=prefork host=127.0.0.1 port=8001 After compiling a new translation file I restart the fcgi processes but I