negative-i18n
=============================
.. image:: https://badge.fury.io/py/negative-i18n.png
:target: http://badge.fury.io/py/negative-i18n
.. image:: https://travis-ci.org/negative-space/negative-i18n.png?branch=master
:target: https://travis-ci.org/negative-space/negative-i18n
Database-stored translation strings for Django
Features
--------
* Strore translations in database
* Download translations as po file
* Import translations from po file
* Simple admin interface for editing translations
* Instant refresh of translation strings
* negative-inline-editor integration
Installation
---------------
pip install negative-i18n
Add 'negative_i18n' to installed apps.
Configuration
------------------
settings.COLLECT_I18N_STATS
default: True
meaning: collect strings to database
Usage in templates
---------------------
{% load negative_i18n %}
<div>
<h1>{{ 'i18n test'|_ }}</h1>
</div>
Usage in views
-------------------
from negative_i18n.trans_utils import _
_('Some text')
Documentation
-------------
The full documentation is at http://negative-i18n.rtfd.org.
History
-------
0.1.0 (2019-02-14)
++++++++++++++++++
* First release on PyPI.
Metadata
Release files for negative-i18n 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| negative-i18n-0.1.3.tar.gz | 16.8 kB | Without provenance | Details for negative-i18n-0.1.3.tar.gz |
Release files / negative-i18n-0.1.3.tar.gz
| Download URL | negative-i18n-0.1.3.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eff0200ef934d511307a31238fc183d2779d7c3061241159b411faac2ddf10b
|
|
BLAKE2b-256 checksum How to use checksums |
c756decd3d3baabf26cc8701fc3e668bca683d2f8b069eedcc98029155d66d48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for negative-i18n 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.