[google-appengine] Re: django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-20 Thread trackmap
First, you'll have to provide django's locale tree along with your application files and add an entry in settings.LOCALE_PATHS for it. In your settings.py: import os appdir = os.path.abspath(os.path.dirname(__file__)) LOCALE_PATHS = ( os.path.join(appdir, 'i18n', 'locale'), ) The above assum

[google-appengine] Re: django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-20 Thread Rafal Jonca
Hi, If you want to get I18N to work, you must have locale dir from django/ conf not in ZIP file but as standard, external files. Then use LOCALE_DIR in settings.py to tell django where they are. I tried this in my project and it works. Regards, Rafał Jońca On 20 Paź, 12:59, qubic <[EMAIL PROTEC

[google-appengine] Re: django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-21 Thread qubic
Thank you very much,it works! On Oct 20, 10:45 pm, trackmap <[EMAIL PROTECTED]> wrote: > First, you'll have to provide django's locale tree along with your > application files and add an entry in settings.LOCALE_PATHS for it. In > your settings.py: > > import os > appdir = os.path.abspath(os.path