On Thu, Jun 19, 2014 at 1:41 PM, Stodge <[email protected]> wrote:
> Yes I'm aware of this thanks. However, the documentation also states that I
> can activate a different language in my custom command:
>
> If, for some reason, your custom management command needs to use a fixed
> locale different from ‘en-us’, you should manually activate and deactivate
> it in your handle() or handle_noargs() method using the functions provided
> by the I18N support code:
>
>
> Using the code:
>
>         # Activate a fixed locale, e.g. Russian
>         translation.activate('ru')
>
>
> However, this doesn't appear to change anything.
>

>From an earlier email, 'ru' is not an enabled language in your settings.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1KwCLavc2VYxX-7T%3DPuanz5Ty3Cye0_pQLe0q6_V10nNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to