On Tue, 2008-11-25 at 11:39 +0100, Jarek Zgoda wrote:
> Wiadomość napisana w dniu 2008-11-25, o godz. 11:17, przez Thomas  
> Guettler:
> 
> > The last days I did my first i18n application and befor I read this:
> > http://docs.djangoproject.com/en/dev/topics/i18n/
> > {{{
> > Application message files are a bit complicated to discover -- they  
> > need
> > the LocaleMiddleware.
> > If you don't use the middleware, only the Django message files and
> > project message files will be processed.
> >
> > }}}
> >
> > I don't know if it is really need. But the documentation says so. Or I
> > read it to quickly and overlooked
> 
> 
> I thing something is wrong with docs then, because I'm speaking from  
> my practice. 

That quoted section does seem to be inaccurate. The code that fetches
the translations is in django.util.translation.trans_real.translation()
and it always runs through settings.INSTALLED_APPS looking for locale
files.

I'm rewriting the i18n documentation at the moment, so I've made a note
to fix that confusion (that whole section is already basically just a
big FIXME at the moment anyway).

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to