Created attachment 162298 [details] py-django-statici18n.diff 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. WWW: https://github.com/zyegfryed/django-statici18n https://reviews.freebsd.org/D3946
Created attachment 162299 [details] py-django-statici18n.shar
Created attachment 162328 [details] 102amd64-poudriere.log
Created attachment 162329 [details] 102i386-poudriere.log
Created attachment 162330 [details] 93amd64-poudriere.log
Created attachment 162331 [details] 93i386-poudriere.log
Created attachment 162597 [details] py-django-static18n.diff
Take.
Please resubmit as a shar, not as a diff. Thanks.
A commit references this bug: Author: miwi Date: Mon Dec 21 14:00:48 UTC 2015 New revision: 404101 URL: https://svnweb.freebsd.org/changeset/ports/404101 Log: 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. WWW: https://github.com/zyegfryed/django-statici18n PR: 203935 Submitted by: Ultima Approved by: mat (mentor) Differential Revision: D4641 Changes: head/www/Makefile head/www/py-django-statici18n/ head/www/py-django-statici18n/Makefile head/www/py-django-statici18n/distinfo head/www/py-django-statici18n/pkg-descr