Seems that is not possible to disable a subset language in locale
system.
I can't define only the "pt" locale, because if the user uses in his
browser "pt-br" it loads the "pt-br" and not the "pt" that was defined
in LANGUAGE settings:

gettext = lambda s: s
LANGUAGES = (
    ('pt', gettext('Portuguese')),
    ('en', gettext('English')),
)

Any idea to resolve this, or I must do a middleware to fix this?

Thanks,
Nuno Mariz


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to