Hi Everyone, I'm having a hard time getting django-multilingual to work the way I expect.
#settings.py LANGUAGES = ( ('en', 'English'), ('es', 'Spanish'), ) TEMPLATE_CONTEXT_PROCESSORS = ( ... 'multilingual.context_processors.multilingual', ) MIDDLEWARE_CLASSES = ( .. 'multilingual.middleware.DefaultLanguageMiddleware', ) #models.py from django.db import models from django.contrib import admin import multilingual class Widget(models.Model): name = models.CharField(max_length=50) class Translation(multilingual.Translation): name = models.CharField(max_length=50) class Meta: verbose_name = _('Widget') verbose_name_plural = _('Widgets') def __unicode__(self): return self.name #index.html {% for widget in widgets %} <li> {{ widget.name }} </li> {% endfor %} When I switch my locale in FireFox, widget.name is always English. What am I doing wrong? I'm trying to follow the documentation as closely as possible, but obviously I'm missing something. Advice appreciated, Brandon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---