I am able to display i18n messages using the default GAE django. But
it chooses the locale by LANGUAGE_CODE in settings.py. How can I make
GAE to automatically detect the browser's locale and choose the right
locale, like in the normal django? I tried to put

#MIDDLEWARE_CLASSES = (
#   'django.contrib.sessions.middleware.SessionMiddleware',
#   'django.middleware.locale.LocaleMiddleware',
#   'django.middleware.common.CommonMiddleware',
#)

in my GAE settings.py, but it doesn't work.

Any idea?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to