Re: translating app name ... again

2009-03-06 Thread Nadya Sevova

I put my translations in the django.po file and also changed a little
bit the admin's index.html template.

Replaced this:


{% blocktrans with app.name as name %}{{ name 
}}{%
endblocktrans %}



with this:
  {%
trans app.name %}


I can't figure out  why blocktranslate does not work in this case.
Tested it in a separate template and everything was ok.

Also cannot translate the app name in the admin's breadcrumbs.


--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: translating app name ... again

2009-03-06 Thread Nadya Sevova

I put my translations in the django.po file and also changed a little
bit the admin's index.html template.

Replaced this:


{% blocktrans with app.name as name %}{{ name 
}}{%
endblocktrans %}



with this:
  {%
trans app.name %}


I can't figure out  why blocktranslate does not work in this case.
Tested it in a separate template and everything was ok.

Also cannot translate the app name in the admin's breadcrumbs.


--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---