On Sun, Aug 12, 2007 at 11:11:37AM +0300, Heba Farouk wrote:
> {%load i18n%}
...
> {% for lang in LANGUAGES %}
> <option value="{{ lang.0 }}">{{ lang.1 }}></option>
...
> I didn't see any options in the select when I run it
...
> LANGUAGES = (
>     ('ar', 'Arabic'),
>     ('en', 'English'),
> )
...
> def my_view(request):
>     output = _("Hello World Home")
>     return render_to_response('index.html', {'output': output})

http://groups.google.com/group/django-users/msg/e34ddaadd0223293

Hope this helps,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

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