Create set_thread_locale and use it.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 1 Mar 2013 12:16:41 +0000 (13:16 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Wed, 24 Apr 2013 20:30:50 +0000 (22:30 +0200)
commit50cb5122209e08d473d12ca4afb03bb58562a61c
tree96134b85dc6b9dc832c3f1e3e3dcecdcf401f732
parentc82a8ba54fb7019f93587456b68c03d41c9edb7d
Create set_thread_locale and use it.

Setting up a new template env should not directly touch the
translation tools, but go through a function in
translations.py.
mediagoblin/tools/template.py
mediagoblin/tools/translate.py