List Info

Thread: pre-selecting the current language




pre-selecting the current language
user name
2006-08-30 09:31:32
Hello all,

I'm using the language selection form from
http
://www.djangoproject.com/documentation/i18n/ and want to
preselect
the current language. How can I do this?

With kind regards,
Baurzhan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

pre-selecting the current language
user name
2006-08-30 09:51:58
On Wed, Aug 30, 2006 at 11:31:32AM +0200, Baurzhan Ismagulov
wrote:
> I'm using the language selection form from
> http
://www.djangoproject.com/documentation/i18n/ and want to
preselect
> the current language. How can I do this?

Got help from [530] on IRC and the previous posting:

{% ifequal lang.0 LANGUAGE_CODE %}

Thanks!

With kind regards,
Baurzhan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )