Hi,

I'm beginner in Django and I have a question about internationalization
support.
If my understanding of i18n is correct, there are 3 basic approaches:
1. for  views  _() function
2.  for templates {% trans ... %} block
3. for static files URL containing language code

Templates containing more static texts I'd like organize in separated
folders e.g.
app/templates/de/tpt1.html
              en/tpt1.html
and pass their names e.g. to render_to_response() function. But I'm not
sure if I can do that, because  TEMPLATE_DIRS
contains absolute pathes to folders, where Django will
look for templates files
by name. Is it possible to pass something like 'de/tpt1.html'  as
'template_name' argument?

Thanks, Peter

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