{ "info": { "author": "Dmitry Arkhipenko", "author_email": "dk.dev@pm.me", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Django Translation Sanitizer\n============================\n\n**Django Translation Sanitizer** is a simple Django app to sanitize the output of `makemessages`\n command by disabling fuzzy matching and sorting it's output.\n\nRationale\n---------\nWhen one first create the `*.po` files with the original `makemessages` command everything seems\nnice -- Django make clean file that one can easily edit via text editor. \n\nThe actual \"mess\" comes after command has been running several times -- \nwhen Django tries to match previous translations of a changed original it often fails to do it correctly. \n \nThe thing is that it fails *silently*. It takes enormous amounts of time to find and \nfix the translation issues django had made.\n\nSo instead of changing the previous translations this module simply adds the new ones, \nleaving everything else untouched.\n\n\nHow to use it\n-------------\n\n1. Install the package from PyPI like this:\n ```bash\n pip install django-translation-sanitizer\n ```\n\n2. Add \"translation_sanitizer\" to your INSTALLED_APPS setting like this\n ```python\n INSTALLED_APPS = [\n ...\n 'translation_sanitizer',\n ]\n ```\n3. That's it! Now `makemessages` command will produce clean, sorted and fuzzy-free output.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/24htv/django-translation-sanitizer", "keywords": "", "license": "BSD 2-Clause License", "maintainer": "", "maintainer_email": "", "name": "django-tranlation-sanitizer", "package_url": "https://pypi.org/project/django-tranlation-sanitizer/", "platform": "", "project_url": "https://pypi.org/project/django-tranlation-sanitizer/", "project_urls": { "Homepage": "https://github.com/24htv/django-translation-sanitizer" }, "release_url": "https://pypi.org/project/django-tranlation-sanitizer/0.1/", "requires_dist": null, "requires_python": "", "summary": "A simple Django app to sanitize the output of makemessages command.", "version": "0.1" }, "last_serial": 5922357, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2cd13ac5fe3e499525bff3b7acfe7311", "sha256": "fe5081353bdb2b39732676448b05bb774b3fa7cd39d8cec5a73a1752e90c92a2" }, "downloads": -1, "filename": "django-tranlation-sanitizer-0.1.tar.gz", "has_sig": false, "md5_digest": "2cd13ac5fe3e499525bff3b7acfe7311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3059, "upload_time": "2019-10-03T08:38:43", "url": "https://files.pythonhosted.org/packages/fb/87/efdc0cb2c42e0d97565ffd1b674574de8556cd124772c012603397fcf6d8/django-tranlation-sanitizer-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2cd13ac5fe3e499525bff3b7acfe7311", "sha256": "fe5081353bdb2b39732676448b05bb774b3fa7cd39d8cec5a73a1752e90c92a2" }, "downloads": -1, "filename": "django-tranlation-sanitizer-0.1.tar.gz", "has_sig": false, "md5_digest": "2cd13ac5fe3e499525bff3b7acfe7311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3059, "upload_time": "2019-10-03T08:38:43", "url": "https://files.pythonhosted.org/packages/fb/87/efdc0cb2c42e0d97565ffd1b674574de8556cd124772c012603397fcf6d8/django-tranlation-sanitizer-0.1.tar.gz" } ] }