Hi Antonis,
I think I figured this out. I have English as fallback language (LANGUAGE_CODE
= 'en') in the settings, but my source language is German, and this
mismatch seems to have been the source of all the trouble. Providing German
translations (even if the original strings are already in Ge
Hi Antonis,
I think I figured this out. I have English as fallback language (LANGUAGE_CODE
= 'en') in the settings, but my source language is German, and this
mismatch seems to have been the source of all the trouble. Providing German
translations (even if the original strings are already in Ge
It's very unlikely that such a basic behaviour won't work, so probably you are
doing something wrong (and so's the stack overflow poster). I made several
related changes in an app yesterday and I had absolutely no problem with {%
trans %} (but I'm using 1.8).
Do you have USE_I18N = True?
If in th
This post on StackOverflow seems to report the same behaviour:
http://stackoverflow.com/questions/10282074/how-to-set-default-language-in-django-for-templates
It's quite old (almost 5 years), but remains unresolved.
--
You received this message because you are subscribed to the Google Groups
"D
I have a site using Django 1.10 with German and English as available
languages, where German is the source language. Dynamic content is
translated with django-modeltranslation and for static strings I am using
Django's built-in `trans` template tag.
I want Django to return the page in the visit
5 matches
Mail list logo