Saturday, September 27, 2014

Django Locale

Hi there,

For some reason my locale file is not loading when I switch the language.
This is pretty much what I did


locale ->
      pt_BR->
             LC_MESSAGES->
                       django.mo
                       django.po

     en->
             LC_MESSAGES->
                       django.mo
                       django.po

no settings 

LANGUAGES = (
   ('en', _('English')),
    ('pt-br', _('Portuguese')),
)






--
Anderson Dias Borges
Senior Analyst Developer

Tu cumprirás o desejo do meu coração se eu Te buscar...
I can't see but I'll take my chances
To hear You call my name

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAAin48W2QJkmFXWWWk23tepEPVPaPQoeLcC0np1y4SY6C8zkzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment