Ask Your Question
0

How to use the django-rosetta?

asked 2012-12-19 04:43:03 -0600

debian gravatar image

updated 2012-12-21 19:46:26 -0600

Evgeny gravatar image

I'm tying to translate my askbot translation files with django-rosetta. I followed the installation instructions of rosetta and it appears to be installed in my virtualenv. When I run the localhost:8000/rosetta I have the following error .. Any ideas?

Django Version: 1.4.2

Exception Type:TemplateSyntaxError

Exception Value: "count" in u'blocktrans' tag expected exactly one keyword argument.

Exception Location: ~/django/templatetags/i18n.py in do_block_translate, line 413

Error during template rendering

In template /usr/lib/pymodules/python2.6/rosetta/templates/rosetta/pofile.html, error at line 124

edit retag flag offensive close merge delete

Comments

I'll probably delete this questions later, as it is does not apply to askbot.

Evgeny gravatar imageEvgeny ( 2012-12-21 19:34:01 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-12-21 19:33:14 -0600

Evgeny gravatar image

Looks like it's a bug in django-rosetta, please talk to the rosetta developers.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-19 04:43:03 -0600

Seen: 380 times

Last updated: Dec 21 '12