On Sep 22, 4:00 pm, A.TNG <[EMAIL PROTECTED]> wrote:
> Originally in Django, locale could be set via session. But GAE cannot
> work with session in Django. So I tried to set
> settings.LANGUAGE_CODE='zh-cn' directly to make i18n works
> dynamically. It works.

I have done so in webappi18n.zip but got the this error msg

AttributeError: 'NoneType' object has no attribute 'LANGUAGE_CODE'

No matter where I have inserted this directive.

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

Reply via email to