www/py-django-statici18n 2.4.0_2 DragonFly
Helper for generating Javascript catalog to static files
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- python, www
- Package size
- 12.7 KiB, 45.4 KiB installed
Description
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.
Install
Binary package:
pkg install py311-django-statici18n
From DPorts:
cd /usr/dports/www/py-django-statici18n && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 3
No port depends on this one.