Thank you for your reply, Using the {% trans %} method is indeed what I intend to do. But the problem is how to set the language on a page basis, rather than as an installation-wide setting, or a user-selectable setting.
On Feb 24, 6:55 pm, Timothy Kinney <timothyjkin...@gmail.com> wrote: > I believe you want to use the {% *trans* %} template > method.http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/ > > -Tim > > On Wed, Feb 24, 2010 at 7:18 AM, Tor Nordam <tor.nor...@gmail.com> wrote: > > I'm currently developing a project for making course webpages at my > > university. Essentially, each course would be an instance of the model > > Course, and each course would then get it's own webpage. However, as > > some courses are taught in Norwegian, and some in English, I want to > > use django's internationalisation framework, and I want to be able to > > set the language for each course separately. So I want to use > > different languages, but I don't want the person viewing the webpage > > to be able to select the language himself. > > > As far as I can tell, the standard ways to set the language is either > > to use one setting for you entire project, or to select language based > > on the end users preferences. Is there an easy way to do what I want? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.