aboutsummaryrefslogtreecommitdiff
path: root/www/py-django-statici18n/pkg-descr
blob: de1615b182629c484006b21e596f26cf22f67957 (plain) (blame)
1
2
3
4
5
6
7
8
9
When dealing with internationalization in JavaScript code, Django provides
the javascript_catalog view which sends out a JavaScript code library with
functions that mimic the gettext interface, plus an array of translation
strings.

At first glance, it works well and everything is fine. But, because
javascript_catalog view is generating JavaScript catalog dynamically
on each request, it's adding an overhead that can be an issue with site
growth.