In my templates I have variables as {{ artobject.title|safe|capfirst }}. I 
want the site in more languages.So in changed the model: title changed in 
title_nl, and I appended title_de, title_en, title_fr. This is more easy 
for me than po-files.

A template must work for all languages,so the variable above in the 
template must become {{ artobject.title_nl|safe|capfirst }} etc.There is a 
variable {{ LANGUAGE_CODE }}, but nesting the variables: {{ 
artobject.title_{{ LANGUAGE_CODE }}|safe|capfirst }} does not work. How can 
I solve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5ed6725c-a77d-48c5-bdc2-4e5642b03919%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to