Quick update - got it to work !!! Still awaiting for google to index
my site under http://work724.com/en/start/ and http://work724.com/sv/start/
but everything seems to be working.
One issue I had was the ordering of modules. Using localeurl 1.3 and
in installation guide step 2 states:
'...Add 'localeurl.middleware.LocaleURLMiddleware' to
settings.MIDDLEWARE_CLASSES. It must come before
'django.middleware.common.CommonMiddleware' or settings.APPEND_SLASH
will not work...'
I tried putting it first in the list but then I only got the default
language and could never change... then I put it last and everything
started to work. Below is the ordering of my stuff (might help someone
in the future)...
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'mysite.projects.middleware.ThreadLocalsMiddleware',
'django.middleware.doc.XViewMiddleware',
'localeurl.middleware.LocaleURLMiddleware',
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---