2009/12/6 GoSantoni <mj.schuur...@gmail.com>: > Hey all, i am new to django and started using pinax. For now i am > trying to set up il8n support using > http://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs > but it keeps on failing with a TemplateSyntaxError > 'il8n' is not a valid tag library: Could not load template library > from django.templatetags.il8n, No module named il8n > > What i did so far: > 1) Got USE_I18N = True in my settings.py > > 2) succeeded with (as superuser though) django-admin.py makemessages - > l en, django-admin.py makemessages -a and django-admin.py > compilemessages > > 3) and did easy_install python-gettext / installed gettext > > In the shell it fails too, > In [1]: import il8n > --------------------------------------------------------------------------- > ImportError Traceback (most recent call > last) > /home/mark/pinax/mysite/<ipython console> in <module>() > ImportError: No module named il8n > > What am i missing? What other modules are necessary beside python- > gettext ? > > Thanks > >
The module is usually called i18n not il8n ? Davor -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.