Hi, I just commited two patches that implement JavaScript translation based on my proposal to Django. I added translations to the date and time pickers in the admin and added the necessary tags and references to the admin app.
If you want to create an empty translation file for JavaScript, you just use the make-messages.py script, but with the additional parameter "-d" as follows: make-messages.py -d djangojs -l de This would create (or update) the djangojs.po for german. make-messages.py currently supports the string domains django and djangojs. Differences are necessary to keep JS dictionaries as small as possible. There is a new generic view to provide the dynamically generated JS translation catalog. This generic view takes two parameters, the domain and a '+'-delimited list of packages. The packages can be provided as a list of strings, too - if used from the info_dict. That way you can add translation dictionaries tailored to your specific needs in your view. Usually you will just add a view that delivers the translations for your application where your JS code is living in. Of course the JS code must be stored inside your project, app or the django source tree for the make-messages.py script to see it. I will provide an updated documentation file soon, but for now you can already play with the admin stuff. For translators: just fetch the conf/locale/en/LC_MESSAGES/djangojs.po and put in your translations for your language and post a ticket with it as usual. bye, Georg
