Is there a way to force a template to get translated to a certain language without passing RequestCo

Posted by Vasil on Stack Overflow See other posts from Stack Overflow or by Vasil
Published on 2010-06-10T10:44:27Z Indexed on 2010/06/10 10:53 UTC
Read the original article Hit count: 273

Filed under:
|
|

I'm rendering a template with a management command (something I need for producing documentation in my native language). So I've no request object, so no RequestContext. Is there a way I can force the template rendering process to lookup translation strings from a particular language other than English?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-templates