HomeFreeBSD

When dealing with internationalization in JavaScript code, Django provides

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.

WWW: https://github.com/zyegfryed/django-statici18n

PR: 203935
Submitted by: Ultima
Approved by: mat (mentor)
Differential Revision: D4641

Details

Provenance
miwiAuthored on
Differential Revision
D4641: [New Port] py-django-statici18n
Parents
rP404100: - Update to 1.3.6
Branches
Unknown
Tags
Unknown