I've translated around 65% except the admin interface (romanian) and I'm getting this error when I'm trying to access the "Bulk Management" page.

C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\templatetags\\extra_tags.py TIME: 2011-02-27 09:46:59,062 MSG: extra_tags.py:render:243 Error in declare tag, when evaluating: current_sort == "score" and nodes.paginator.score_asc_sort_link or nodes.paginator.score_sort_link
C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\templatetags\\ui_registry.py TIME: 2011-02-27 09:46:59,092 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.Link object at 0x021767B0>: 
Traceback (most recent call last):
  File "C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\templatetags\\ui_registry.py", line 22, in render
    result += ui_object.render(context)
  File "C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\modules\\ui_objects.py", line 107, in render
    html.hyperlink(self.url(context), self.text(context), **self.attrs(context)),
  File "C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\modules\\ui_objects.py", line 67, in __call__
    return self.argument(user, context)
  File "C:\\Documents and Settings\\User\\Desktop\\osqa\\forum\\registry.py", line 42, in <lambda>
    url=lambda u, c: settings.CONTACT_URL and settings.CONTACT_URL or "%s?next=%s" % (reverse('feedback'), cleanup_urls( c['request'].path)),
  File "C:\\Python27\\lib\\site-packages\\django-1.2.5-py2.7.egg\\django\\template\\context.py", line 46, in __getitem__
    raise KeyError(key)
KeyError: 'request'

A more detailed log with the Debug Toolbar. Log.

Somewhat related, when using the Django Debug Toolbar, I can't even access the administration panel without having some sort of UnicodeDecodeError being thrown. Should I disable it altogether?

asked 27 Feb '11, 02:59

xatrix's gravatar image

xatrix
116126
accept rate: 25%

I've tried this with the default included Bulgarian translation. It too generates the same error when accessing the Bulk Management page. Looks like a problem with displaying non-ascii characters.

(27 Feb '11, 05:29) xatrix
1

The Unicode issues in the bulk management tool were coming from the translated URLs, that were not properly encoded in in the template declare block. This two commits should have the issues resolved:

  1. http://svn.osqa.net/changelog/OSQA/?cs=1061
  2. http://svn.osqa.net/changelog/OSQA/?cs=1062
(10 Jun '11, 11:39) Jordan ♦♦

This is not related to the translations. I am using the EN version and I still got that error. BTW: The Ubuntu Romanian team has also start working on a translation: https://translations.launchpad.net/ubuntu-ro/osqa-l10n/+pots/osqa/ro/+translate ... maybe we can join our efforts

link

answered 27 Feb '11, 05:54

adiroiban's gravatar image

adiroiban
7213
accept rate: 50%

weird because it behaves normally for me with the English locale...

And as for collaborating, sure thing! Suntem deja mai multi romani care lucreaza asupra localizarii (aici pe site Sorin). Eu pot sa-ti trimit ce am tradus pana acum (cu svn-769, cred). E practic totul inafara de admin (prefer engleza) si urluri. Numai o sa trebuiasca sa vezi cum sa impaci diferentele de versiune, si de stil (pers II singular vs plural)

(27 Feb '11, 06:13) xatrix

I am using the latest SVN version with Python 2.5. Can you please email me at adi@ubuntu.ro . Thanks!

(27 Feb '11, 06:26) adiroiban

se poate sa-mi trimita si mie cineva traducerea ptr ultima versiune stable? .... 886 that is.

(09 Jun '11, 13:29) Teodoru Adri...

din pacate pagina de pe launchpad nu mai este functionala... :( stie cineva unde se poate gasi traducerea romaneasca?

(19 Feb, 07:44) rcopper
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×38
×20

Asked: 27 Feb '11, 02:59

Seen: 660 times

Last updated: 19 Feb, 07:44

powered by OSQA