>Exception Type: KeyError >Exception Value: '' >Exception Location: C:\soft\django_src\django\views\i18n.py in >javascript_catalog, line 156
Outch. That's a broken translation catalog - the '' entry in .po/.mo files is important, it's the metadata stuff. If you click the disclosure triangle on the line of error (156) in the traceback, you will be able to see local variables. What is the value of the local variable "t"? This should be a dictionary with translations, if it isn't, something is really weird. The '' entry includes the Plural-Forms option, that's why I look for it - I need to translate that into something for JavaScript. I do handle the non-existence of that option, but not the complete absence of the '' entry. What's happening in that code: it is first taking the settings.LANGUAGE_CODE language and pulls the djangojs translation catalog for that. After that it tries the request.LANGUAGE_CODE, if that is different from the settings, and merges those translations into the big catalog. So what could happen here is that you have set your default language to some language that doesn't yet support djangojs translations (not all languages already include the translations) and maybe you are using the same language in your browser or don't have the LocaleMiddleware installed. To verify this, it would be interesting if you could switch your system to english to see what happens. If it really is what I suppose it is, it's easy to fix for me - just want to make sure that it's really that problem on your side. bye, Georg