Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.