Re: i18n in templates and views

2008-10-08 Thread J
Thank you, Carl. I'll try this out. Carl Meyer wrote: > On Oct 8, 12:22 am, J <[EMAIL PROTECTED]> wrote: > >> How would I include the "date" field from the first model ("Post") in >> the queryset created from "PostI18N", using something similar to: >> >> queryset = >>

Re: i18n in templates and views

2008-10-08 Thread Carl Meyer
On Oct 8, 12:22 am, J <[EMAIL PROTECTED]> wrote: > How would I include the "date" field from the first model ("Post") in > the queryset created from "PostI18N", using something similar to: > > queryset = > PostI18N.objects.filter(lang=get_language()).order_by('post__date') > > Would that date

Re: i18n in templates and views

2008-10-07 Thread J
This is perfect! Thank you Malcolm. One more question--simpler this time: How would I include the "date" field from the first model ("Post") in the queryset created from "PostI18N", using something similar to: queryset = PostI18N.objects.filter(lang=get_language()).order_by('post__date')

Re: i18n in templates and views

2008-10-07 Thread Malcolm Tredinnick
On Tue, 2008-10-07 at 18:23 -0400, J wrote: > Hi everyone, > > I'm working on a bilingual website in django for which the visitor has > the option of choosing which language he/she prefers. All the > interface, as well as the content, will be available in Spanish and > English. The interface is

i18n in templates and views

2008-10-07 Thread J
Hi everyone, I'm working on a bilingual website in django for which the visitor has the option of choosing which language he/she prefers. All the interface, as well as the content, will be available in Spanish and English. The interface is set up to be handled by gettext and django's has