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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
debian's avatar
1
debian
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

Comments

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

Evgeny's avatar Evgeny (12 years ago)
see more comments

1 Answer

0

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

see more comments