django-statici18n
A Django app that compiles i18n JavaScript catalogs to static files.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, production-stable, has no known vulnerabilities, and solves a real performance problem for Django sites using JavaScript internationalization. Installation friction is minimal with only two runtime dependencies. The permissive BSD license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured with i18n support; translation messages must be compiled before running compilejsi18n.
- Low friction installation with only Django and django-appconf as runtime dependencies.
- Package is actively maintained with recent commits and marked production-stable.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-03-15 (152 days) · last repo commit 2026-03-15 · 67 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 231,035 downloads/mo, #9,098 on PyPI
Alternatives
Verify before relying
pip install django-statici18n
# Add to INSTALLED_APPS in settings.py:
INSTALLED_APPS = [
'statici18n',
]
# Run management command:
python manage.py compilejsi18n- Whether the package supports Django versions beyond 6.0 or if 6.0 is the current maximum.
- Performance improvement metrics or benchmarks comparing static vs. dynamic catalog generation.
What it is and what it does
django-statici18n solves a performance problem in Django applications that use JavaScript internationalization. Django's built-in JSONCatalog view generates translation catalogs dynamically on every request, which adds overhead as sites grow. This package pre-compiles those catalogs into static files that can be served directly, eliminating the per-request generation cost.
The package works by collecting JavaScript translation catalogs from your Django apps and compiling them into static files using a management command. It integrates with Django's staticfiles framework and supports modern Django versions (4.2 LTS, 5.2 LTS, and 6.0) across Python 3.8 through 3.14. Installation is straightforward: add it to INSTALLED_APPS, run the compilejsi18n command after translating and compiling your messages, and update your templates to reference the static catalog instead of the dynamic view.
Use it for
- Optimize JavaScript translation performance in multi-language Django sites by pre-compiling catalogs.
- Reduce server load by serving static i18n files instead of generating them per request.
- Integrate static JavaScript translations with Django's staticfiles collection and CDN deployment.
- Support client-side gettext-like translation functions with pre-compiled message catalogs.
- Simplify template code by using provided template tags to include compiled i18n catalogs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, production-stable, has no known vulnerabilities, and solves a real performance problem for Django sites using JavaScript internationalization. Installation friction is minimal with only two runtime dependencies. The permissive BSD license poses no restrictions.
Install
django-statici18n on PyPI
Before you install
Low friction installation with only Django and django-appconf as runtime dependencies. Package is actively maintained with recent commits and marked production-stable.
Requires Django to be installed and configured with i18n support; translation messages must be compiled before running compilejsi18n.
License in practice
BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install django-statici18n
# Add to INSTALLED_APPS in settings.py:
INSTALLED_APPS = [
'statici18n',
]
# Run management command:
python manage.py compilejsi18n
Verify before relying
- Whether the package supports Django versions beyond 6.0 or if 6.0 is the current maximum.
- Performance improvement metrics or benchmarks comparing static vs. dynamic catalog generation.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesDjangodjango-appconf |
| Maintenance | Actively maintained 152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 231,035 / month, #9,098 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: django_statici18n-2.7.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django i18n javascript static files”
- django-statici18nCompiles Django's JavaScript internationalization catalogs to static…
- edx-i18n-toolsCommand-line tool for extracting, compiling, validating, and managing…
- django-pipelinedjango-pipeline bundles and compresses CSS and JavaScript assets in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also django-js-reverse · zope.i18n · oslo.i18n · translationstring · zope.i18nmessageid · ResourceBundle · flufl.i18n · babel · python-i18n · django-npm