diff options
author | miwi <miwi@FreeBSD.org> | 2015-12-21 22:00:47 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2015-12-21 22:00:47 +0800 |
commit | 0f816c5784126de2f1d77514957649c44e57093a (patch) | |
tree | 4c95c95f362477b0d7c590f230a6096c74261af6 /www/Makefile | |
parent | 0a064bcc1b0259b0a4193578f184513efe106cea (diff) | |
download | freebsd-ports-graphics-0f816c5784126de2f1d77514957649c44e57093a.tar.gz freebsd-ports-graphics-0f816c5784126de2f1d77514957649c44e57093a.tar.zst freebsd-ports-graphics-0f816c5784126de2f1d77514957649c44e57093a.zip |
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
Diffstat (limited to 'www/Makefile')
-rw-r--r-- | www/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index a4b076480b1..4578ae09db0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1569,6 +1569,7 @@ SUBDIR += py-django-sekizai SUBDIR += py-django-signals-ahoy SUBDIR += py-django-simple-captcha + SUBDIR += py-django-statici18n SUBDIR += py-django-storages SUBDIR += py-django-subdomains SUBDIR += py-django-tables2 |