1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/www/py-django-statici18n/pkg-descr
Martin Wilke 695cfc1f26 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
2015-12-21 14:00:47 +00:00

12 lines
503 B
Plaintext

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