Hi,

I am trying to get internationalization working in django, but seem to
have run into some problems.
I have added 'django.middleware.locale.LocaleMiddleware' to my list of
middleware classes, generated the i18n files and compiled them and
then changed my browsers prefered language.
Outputting request.LANGUAGE_CODE shows that django does, indeed,
detect and the language I want it to use, however, it is not using the
translated strings, but is still displaying the text specified in the
template (marked with {% trans "whatever" %}, I have also have {% load
i18n %} at the top of my template file).

Am I missing something? Any ideas or tips as to how I can get i18n working?

Thanks!!
Dan.

-- 
Daniel Kersten.
Leveraging dynamic paradigms since the synergies of 1985.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Python Ireland" 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.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to