{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Compiles Django's JavaScript internationalization catalogs to static files, eliminating per-request overhead from dynamic catalog generation.","skillfed_tags":["django-i18n","static-files","performance"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"django-statici18n","links":{"html":"https://skillfed.io/packages/django-statici18n","md":"https://skillfed.io/packages/django-statici18n.md","pypi":"https://pypi.org/project/django-statici18n/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-15","license_spdx":null,"license_treatment":"permissive","name":"django-statici18n","python_support":"unspecified","summary":"A Django app that compiles i18n JavaScript catalogs to static files."},"popularity":{"monthly_downloads":231035,"position":9098,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.7.1"}
