{ "info": { "author": "Artur Barseghyan", "author_email": "artur.barseghyan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "==============\ndjango-i18next\n==============\n`django-i18next` - Additions to Django's i18n module.\n\nPrerequisites\n=============\n- Django 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10\n- Python >= 2.6.8, >= 2.7, >= 3.4\n\nRoadmap\n=======\nSee the `TODOS `_\nfor the full list of planned-, pending- in-development- or to-be-implemented\nfeatures.\n\nInstallation\n============\n\n(1) Install latest stable version from PyPI:\n\n.. code-block:: sh\n\n pip install django-i18next\n\nOr latest stable version from GitHub:\n\n.. code-block:: sh\n\n pip install -e git+https://github.com/barseghyanartur/django-i18next@stable#egg=django-i18next\n\nOr latest stable version from BitBucket:\n\n.. code-block:: sh\n\n pip install -e hg+https://bitbucket.org/barseghyanartur/django-i18next@stable#egg=django-i18next\n\n(2) Add `i18next` to ``INSTALLED_APPS`` of the your projects' Django settings.\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n # ...\n 'i18next',\n\n # Other project specific apps\n 'foo', # Test app\n # ...\n )\n\nUsage\n=====\nOverride locale\n---------------\nNo matter what your current locale is, you can override it for a certain part\nof your template using the ``overridelocale`` template tag.\n\nLoad the templatetags.\n\n.. code-block:: html\n\n {% load i18n i18next %}\n\nThe following code forces Dutch locale for whatever is put inside the\n``overridelocale`` block.\n\n.. code-block:: html\n\n {% overridelocale 'nl' %}\n

\n {% trans \"Log in\" %}\n

\n {% endoverridelocale %}\n\nThe following code forces Russian locale for whatever is put inside the\n``overridelocale`` block.\n\n.. code-block:: html\n\n {% overridelocale 'ru' %}\n

\n {% trans \"Log in\" %}\n

\n {% endoverridelocale %}\n\nThe following code forces English locale for whatever is put inside the\n``overridelocale`` block.\n\n.. code-block:: html\n\n {% overridelocale 'en' %}\n

\n {% trans \"Log in\" %}\n

\n {% endoverridelocale %}\n\nDisable translations\n--------------------\nNo matter what your current locale is, you can disable translations for a\ncertain part of your template using the ``disabletranslations`` template tag.\n\n.. code-block:: html\n\n {% load i18n i18next %}\n\n {% disabletranslations %}\n

\n {% trans \"Log in\" %}\n

\n {% enddisabletranslations %}\n\nDemo\n====\nLive demo\n---------\nSee the `live demo app `_ on Heroku.\n\nRun demo locally\n----------------\nIn order to be able to quickly evaluate the `django-i18next`, a demo app (with\na quick installer) has been created (works on Ubuntu/Debian, may work on other\nLinux systems as well, although not guaranteed). Follow the instructions below\nfor having the demo running within a minute.\n\nGrab the latest `django_i18next_example_app_installer.sh`:\n\n.. code-block:: sh\n\n wget https://raw.github.com/barseghyanartur/django-i18next/stable/examples/django_i18next_example_app_installer.sh\n\nAssign execute rights to the installer and run the\n`django_i18next_example_app_installer.sh`:\n\n.. code-block:: sh\n\n chmod +x django_i18next_example_app_installer.sh\n ./django_i18next_example_app_installer.sh\n\nOpen your browser and test the app.\n\n- URL: http://127.0.0.1:8001/nl/\n\nIf quick installer doesn't work for you, see the manual steps on running the\n`example project\n`_.\n\nDebugging\n=========\nBy default debugging is turned off. Set the ``I18NEXT_DEBUG`` to True\nin the ``settings.py`` of your project in order to do so.\n\nLicense\n=======\nGPL 2.0/LGPL 2.1\n\nSupport\n=======\nFor any issues contact me at the e-mail given in the `Author` section.\n\nAuthor\n======\nArtur Barseghyan ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/barseghyanartur/django-i18next/", "keywords": "django,i18n,internationalisation", "license": "GPL 2.0/LGPL 2.1", "maintainer": null, "maintainer_email": null, "name": "django-i18next", "package_url": "https://pypi.org/project/django-i18next/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-i18next/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/barseghyanartur/django-i18next/" }, "release_url": "https://pypi.org/project/django-i18next/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Additions to Django's i18n module.", "version": "0.1.3" }, "last_serial": 3472178, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f17afff3b751d391510d98827d663ce0", "sha256": "35cf19ad6122e5e807bc6db7368348ee09416deafdf6eb77e45fcd925ca3f7d8" }, "downloads": -1, "filename": "django_i18next-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f17afff3b751d391510d98827d663ce0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11308, "upload_time": "2015-04-09T21:32:30", "url": "https://files.pythonhosted.org/packages/6d/81/80ea05db33d868767f449a1df21b3782eca0c2ce2e5600e12b2835fa2773/django_i18next-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b09f4422ea1b076ceae236c3fb1a898", "sha256": "35d05386bb126d075efc385789c44626c56fccbc50e9d8fc9d70a574bc0d9dc4" }, "downloads": -1, "filename": "django-i18next-0.1.tar.gz", "has_sig": false, "md5_digest": "5b09f4422ea1b076ceae236c3fb1a898", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24507, "upload_time": "2015-04-09T21:32:27", "url": "https://files.pythonhosted.org/packages/9f/33/a48ecd3540db137893d91f475f199d8cd517b3483438aa499095ccf6624c/django-i18next-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c92f98775c75184b054ea56b797ecb03", "sha256": "fb16efc3c349d5a423fc767c5a47ea9fc5f97eedf4b47ce409e72c5c4e4922a2" }, "downloads": -1, "filename": "django_i18next-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c92f98775c75184b054ea56b797ecb03", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11228, "upload_time": "2015-04-09T22:03:25", "url": "https://files.pythonhosted.org/packages/93/03/be413c27ab007852e446bf87c428d36a5979916da13c90c4fabd240f8aac/django_i18next-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a4d9f5a4e6cb7470e84856c0df40d9d", "sha256": "2c1a041806239a0a67f33f8360a4fd7e0b8d622298c4857b64346528387abb7c" }, "downloads": -1, "filename": "django-i18next-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9a4d9f5a4e6cb7470e84856c0df40d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24434, "upload_time": "2015-04-09T22:03:22", "url": "https://files.pythonhosted.org/packages/59/0a/a73fd3d4efdac806530adbab53c05b69b65cdf00322b7ef1e06e60a70b0e/django-i18next-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a3d74f67296b68b0f1d4ce54c11bde8d", "sha256": "fc0d1f61b8c592514be70d12faa6dab467fea4949c0649baa16adecd1c10667d" }, "downloads": -1, "filename": "django_i18next-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a3d74f67296b68b0f1d4ce54c11bde8d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10845, "upload_time": "2016-11-20T01:47:40", "url": "https://files.pythonhosted.org/packages/ba/d4/b6c837ddd39227413d64fbde7fa54489c923c0a77f25dbb452422624253a/django_i18next-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6325e1150125c783b76f54e90b0482e", "sha256": "07f6c9685fca2bc0df0c7c09f6979170e00ec7ee7a4c4f7fd9606dac1a50de1c" }, "downloads": -1, "filename": "django-i18next-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d6325e1150125c783b76f54e90b0482e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24150, "upload_time": "2016-11-20T01:47:37", "url": "https://files.pythonhosted.org/packages/a1/4b/a0f7836f27f2ea5f4a2c3628cd65983dcb7d93029c9dc8bb24be444514ef/django-i18next-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "662b7aac39d13bb3c90617a4c27c1577", "sha256": "8365f2944dba167e76831da304c14127ec782eed6cc441234df3f402d4ec324c" }, "downloads": -1, "filename": "django_i18next-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "662b7aac39d13bb3c90617a4c27c1577", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10885, "upload_time": "2016-11-22T20:43:08", "url": "https://files.pythonhosted.org/packages/96/27/1b6c216222e12d7ee1d92c11e87853131bea66394936f0a016186d5d8745/django_i18next-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e356a7b2d03705fe19fb8e71e93af8cf", "sha256": "a4b64473cc3c65b3847eb2ac447e2d00493ec63ba9a7151b27fd8dab394af215" }, "downloads": -1, "filename": "django-i18next-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e356a7b2d03705fe19fb8e71e93af8cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24219, "upload_time": "2016-11-22T20:43:05", "url": "https://files.pythonhosted.org/packages/98/0d/fd29e1fd815ca9ffb487800cafa4ca94b5e03d5d1fb9704b8332261a0186/django-i18next-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "662b7aac39d13bb3c90617a4c27c1577", "sha256": "8365f2944dba167e76831da304c14127ec782eed6cc441234df3f402d4ec324c" }, "downloads": -1, "filename": "django_i18next-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "662b7aac39d13bb3c90617a4c27c1577", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10885, "upload_time": "2016-11-22T20:43:08", "url": "https://files.pythonhosted.org/packages/96/27/1b6c216222e12d7ee1d92c11e87853131bea66394936f0a016186d5d8745/django_i18next-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e356a7b2d03705fe19fb8e71e93af8cf", "sha256": "a4b64473cc3c65b3847eb2ac447e2d00493ec63ba9a7151b27fd8dab394af215" }, "downloads": -1, "filename": "django-i18next-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e356a7b2d03705fe19fb8e71e93af8cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24219, "upload_time": "2016-11-22T20:43:05", "url": "https://files.pythonhosted.org/packages/98/0d/fd29e1fd815ca9ffb487800cafa4ca94b5e03d5d1fb9704b8332261a0186/django-i18next-0.1.3.tar.gz" } ] }