Revision history [back]
Error '_' is undefined
I'm not sure what I've done here (maybe messed up my configuration) but I'm seeing this error:
Exception Type: UndefinedError at /forum/questions/
Exception Value: '_' is undefined
Full trace at http://dpaste.com/561250/
askbot 0.7.3
Does this ring any bells?
Edit:
USE_I18N = True
Settings are at http://dpaste.com/561263/
Also the other pages work fine eg tags, people, badges and I can see the French translation. It's just the questions page that shows this problem.
Edit: Replacing _() with gettext() in tab_bar.html fixes the problem. Using jinja2 2.5.5.
Error '_' is undefined
I'm not sure what I've done here (maybe messed up my configuration) but I'm seeing this error:
Exception Type: UndefinedError at /forum/questions/
Exception Value: '_' is undefined
Full trace at http://dpaste.com/561250/
askbot 0.7.3
Does this ring any bells?
Edit:
USE_I18N = True
Settings are at http://dpaste.com/561263/
Also the other pages work fine eg tags, people, badges and I can see the French translation. It's just the questions page that shows this problem.
Edit: Replacing _() with gettext() in tab_bar.html fixes the problem. Using jinja2 2.5.5.
Error '_' is undefined
I'm not sure what I've done here (maybe messed up my configuration) but I'm seeing this error:
Full trace at http://dpaste.com/561250/
askbot 0.7.3
Does this ring any bells?
Edit:
USE_I18N = True
Settings are at http://dpaste.com/561263/
Also the other pages work fine eg tags, people, badges and I can see the French translation. It's just the questions page that shows this problem.