i did so, sorry may be the template i sent was not updated but i
really did
{%load i18n%}
<html>
<head><title>{{output}}</title></head>
        <body>
                {%trans "Hello World!"%}
                <form action="/i18n/setlang/" method="get">
                        <input name="next" type="hidden" value={{path}} />
                                <select name="language">
                                        {% for lang in LANGUAGES %}
                                                <option value="{{ lang.0 }}">{{ 
lang.1 }}</option>
                                        {% endfor %}
                                </select>
                        <input type="submit" value="Go" />
                </form>
        </body>
</html>

i couldnot get any translation

On Aug 12, 4:09 pm, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 12, 2007 at 05:55:31AM -0700, Heba wrote:
> > ok, thanks again for this help, i can now compile my .po files, but i
> > still have nothing after pressing the go button
>
> Well, the template you've posted doesn't include any text. You probably
> want to include "{{ output }}" somewhere in <body>. FWIW, you can also
> use "{% trans "some text" %}" directly in the template, so that you
> don't have to include messages in views.py.
>
> With kind regards,
> --
> Baurzhan Ismagulovhttp://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