Revision history  [back]

translation works only partially in templates

With the new theme (don't know about the old one), translatable strings that are inside jinja macros appear in the language they were first requested after the server startup (it seems as if jinja optimizes/caches the contents of macros).

Possible fix is not to use translatable strings inside of macros.

Setup is apache+mod_wsgi, localization using the django built in LocaleMiddleware and independently when using django-localeurl.