Metadata-Version: 1.1
Name: django-extra_keywords
Version: 1.0
Summary: Extra gettext keywords handling in Django
Home-page: https://bitbucket.org/tkhyn/django-extra_keywords
Author: Thomas Khyn
Author-email: thomas@ksytek.com
License: UNKNOWN
Description: Extra keywords for Django
        =========================
        
        |copyright| 2014 Thomas Khyn
        
        About
        -----
        
        The django ``makemessage`` management command parses the code of an application
        to generate .pot and .po files, provided the strings to be translated are
        called by the gettext-like functions (gettext, ugettext, ngettext,
        ugettext_lazy, etc.) or the ``_`` alias.
        
        However, it is quite common to use other aliases than ``_``, for example for
        lazy translation, where ``_l`` can be used.
        
        Django does not provide a way to specify other aliases that may be used for
        translation strings. This plugin fills this gap, without having to patch the
        django code itself.
        
        Usage
        -----
        
        Simply add ``'extra_keywords'`` to your INSTALLED_APPS after having installed
        the package with the method of your choice. Note that it does not make any
        sense to have this application installed in production.
        
        Once it is installed, you may for example run::
        
           manage.py makemessages [...] --extra-keywords=_l [...]
        
        so that ``_l('to translate')`` is recognised and 'to translate' is
        added to the locale dictionnary.
        
        .. |copyright| unicode:: 0xA9
        
Keywords: i18n,translation,gettext,keywords
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Framework :: Django
Classifier: Environment :: Plugins
Classifier: Topic :: Software Development :: Internationalization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Linguistic
