First time here? Check out the FAQ!
0

How to use the django-rosetta?

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

debian's avatar
1
debian
asked 2012-12-19 04:43:03 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2012-12-21 19:46:26 -0600
edit flag offensive 0 remove flag close merge delete

Comments

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

Evgeny's avatar Evgeny (2012-12-21 19:34:01 -0600) edit
add a comment see more comments

1 Answer

0

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

Evgeny's avatar
13.2k
Evgeny
answered 2012-12-21 19:33:14 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments