Metadata-Version: 2.1
Name: negative-i18n
Version: 0.1.3
Summary: Database-stored translation strings for Django
Home-page: https://github.com/negative-space/negative-i18n
Author: Alex Rudakov
Author-email: ribozz@gmail.com
License: MIT
Keywords: negative-i18n
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
License-File: AUTHORS.rst

=============================
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.
