{ "info": { "author": "Dynport GmbH", "author_email": "info@phraseapp.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Internationalization", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Localization" ], "description": "=============\ndjango-phrase\n=============\n\nPhraseApp_ is the translation management solution for web and mobile applications. Collaborate with your team, find professional translators and stay on top of the process.\n\nThis adapter lets you connect your Django_ application to PhraseApp and integrate the powerful In-Context-Editor_ into your apps.\n\n.. _PhraseApp: https://phraseapp.com\n.. _Django: https://www.djangoproject.com\n.. _In-Context-Editor: https://help.phraseapp.com/translate-website-and-app-content/use-in-context-editor-to-translate/translate-directly-on-your-website\n\nHow does it work?\n-----------------\n\ndjango-phrase provides In-Context translating facilities to your Django app by hooking into i18n template tags.\n\nIt exposes the underlying key names to the In-Context Editor that is provided by PhraseApp.\n\nTo get started with PhraseApp you need to `sign up for a free account `_.\n\n\nInstallation\n------------\n\nInstall the package with pip::\n\n pip install django-phrase\n\nAnd add phrase to the list of installed apps::\n\n INSTALLED_APPS = (\n 'phrase',\n )\n\nYou can now use the ``phrase_i18n`` template tag in your templates::\n\n {% load phrase_i18n %}\n\nNote: You have to load ``phrase_i18n`` *after* you load ``\u00ec18n`` in order to let ``phrase`` override the translation methods.\n\nLast step: add the JavaScript snippet to your base layout file with the following tag. This should go inside the ```` section of your template file::\n\n {% phrase_javascript %}\n\n\nConfiguration\n-------------\n\nYou can configure the In-Context Editor in your settings with these options::\n\n PHRASE_ENABLED = True\n PHRASE_PROJECT_ID = 'YOUR_PROJECT_ID'\n PHRASE_PREFIX = '{{__'\n PHRASE_SUFFIX = '__}}'\n\n**************\nPHRASE_ENABLED\n**************\n\nEnable/Disable In-Context Editor completely and fall back to standard Django i18n handling. Always disable the In-Context Editor for production environments!\n\n*****************\nPHRASE_PROJECT_ID\n*****************\n\nAdd your ProjectID. You find the Project ID on the `projects overview page `_.\n\n*************\nPHRASE_PREFIX\n*************\n\nChange the prefix and suffix of the keys that are rendered by the In-Context Editor. Default typically works great but this can conflict with some JavaScript liberaries. Use this setting to change prefix and suffix to custom ones if necessary.\n\n********************\nHeroku and .mo Files\n********************\n\nIf you are using the current global gitignore file for python https://github.com/github/gitignore/blob/master/Python.gitignore be warned that your compiled .mo files are ignored as well. That means that your translations will not appear on Heroku. If you want this not to happen or having issues with this simply comment out your *.mo ignore rule. Then run your compilemessages locally and include them into your sourcetree before pushing to Heroku.\n\nMore Information\n----------------\n\n* Signup_\n* Documentation_\n* Support_\n\n.. _Signup: https://phraseapp.com/signup\n.. _Documentation: https://help.phraseapp.com/\n.. _Support: https://phraseapp.com/contact", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/phrase/django-phrase", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/phrase/django-phrase", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-phrase", "package_url": "https://pypi.org/project/django-phrase/", "platform": "", "project_url": "https://pypi.org/project/django-phrase/", "project_urls": { "Download": "https://github.com/phrase/django-phrase", "Homepage": "https://github.com/phrase/django-phrase" }, "release_url": "https://pypi.org/project/django-phrase/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "Connect your Django apps to PhraseApp, the powerful in-context-translation solution.", "version": "1.0.7" }, "last_serial": 4894428, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7ecf266965feac8d7d9eff8f97ac93f4", "sha256": "151d4f512620b9953af6a23cd59c4c23c096ec2091f940a79604962c8707e907" }, "downloads": -1, "filename": "django-phrase-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7ecf266965feac8d7d9eff8f97ac93f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6072, "upload_time": "2013-07-05T14:26:57", "url": "https://files.pythonhosted.org/packages/e4/8d/2f9b60927d38a902cb7381246e740111c43271706df63e62f0d119154e18/django-phrase-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "af101683ac500f1000457c7fe21efed1", "sha256": "72d93ae0677192f8d9dc988b4589004af155ef8f2d7a619e2dc0e4a4b2bbc317" }, "downloads": -1, "filename": "django-phrase-0.0.2.tar.gz", "has_sig": false, "md5_digest": "af101683ac500f1000457c7fe21efed1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6075, "upload_time": "2013-07-05T14:28:44", "url": "https://files.pythonhosted.org/packages/00/d4/2e7f6c458e75110bc174b6e77e36d3d6e3dd884c5a0f55dbbdbaae8c5911/django-phrase-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "40f2ffc10511a00ea7730a0e17fc4e8c", "sha256": "337efd0e80ed45bb01a312dd1a25e185e3dfc7cab519094331cceb018fc32a66" }, "downloads": -1, "filename": "django-phrase-0.0.3.tar.gz", "has_sig": false, "md5_digest": "40f2ffc10511a00ea7730a0e17fc4e8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6281, "upload_time": "2015-02-02T10:24:56", "url": "https://files.pythonhosted.org/packages/2a/15/1a643e69f1daeca109876b781f4def6021f34a9228181e017e34934d12da/django-phrase-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d4a672a8eab42e7c58189fd3e8bf7f2c", "sha256": "fb4d98ac418f25c29dda31ef0724aed3ffb26c3194d33fbea74ab52096d0d3f7" }, "downloads": -1, "filename": "django-phrase-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d4a672a8eab42e7c58189fd3e8bf7f2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6341, "upload_time": "2015-07-21T16:07:07", "url": "https://files.pythonhosted.org/packages/ca/8c/09030e553efaaf7aa291b1e2beda77aa2d05b5219494e473f66f17ba7082/django-phrase-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e40c2ecd2057335f352e20ff4a3d96b7", "sha256": "a55c5632f3214a010a5b1b65f68a7361e0efd25cea9df4a4d58f4a6ad0eb29ab" }, "downloads": -1, "filename": "django-phrase-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e40c2ecd2057335f352e20ff4a3d96b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6370, "upload_time": "2015-07-22T14:52:02", "url": "https://files.pythonhosted.org/packages/ee/42/21f4e4902234223f21ee8dfd0f6d4932dc5838affd0caa0b75c71e3409c3/django-phrase-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "55c96c5d299c12329cdff97900b75d4b", "sha256": "58b77130e3176a867cafa0391c87de82fb03e1856abeaec883ecdea65c6c8c35" }, "downloads": -1, "filename": "django-phrase-1.0.2.tar.gz", "has_sig": false, "md5_digest": "55c96c5d299c12329cdff97900b75d4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6400, "upload_time": "2015-08-27T08:24:31", "url": "https://files.pythonhosted.org/packages/00/4e/628bb126db4f28fc138d5860c54c91d1d994e187b0d96fba9e91465a5c3d/django-phrase-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "6e4a6229be577c04427da1ff83859102", "sha256": "2903dc6e6f75a6258a7451512b3ef4cee26b02319ab68e3e6af2df1e4d085389" }, "downloads": -1, "filename": "django-phrase-1.0.3.tar.gz", "has_sig": false, "md5_digest": "6e4a6229be577c04427da1ff83859102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6411, "upload_time": "2016-04-19T14:32:50", "url": "https://files.pythonhosted.org/packages/d1/c8/021eac08988fb6e4365f5fb2e6180e9ccd7c5e6d086cddaaf4895933fc2d/django-phrase-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "db2d4b1f8d0348b39a784d2286a763cf", "sha256": "9705b3ab228d1adc3ee2dd03e3ebbe4461047db663a3782cb145c85840461c5c" }, "downloads": -1, "filename": "django-phrase-1.0.4.tar.gz", "has_sig": false, "md5_digest": "db2d4b1f8d0348b39a784d2286a763cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6415, "upload_time": "2016-04-19T14:35:07", "url": "https://files.pythonhosted.org/packages/77/69/e04b74eff4d4907a728f1f54ac649a90e21996756062866f00d01bb5414f/django-phrase-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "48f95e702a51af81962f776e1474b644", "sha256": "6d020c3d2935c1a556b9c8fe24c07334fe79691ac1179f2f3eddf8cd8f12434e" }, "downloads": -1, "filename": "django-phrase-1.0.5.tar.gz", "has_sig": false, "md5_digest": "48f95e702a51af81962f776e1474b644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6409, "upload_time": "2017-04-24T07:49:05", "url": "https://files.pythonhosted.org/packages/9e/d9/e026e98759a64157c40c10e7e605858ca410089e1bd74c39ceec379d8646/django-phrase-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "c6143ad2f72e8da81af949262a77118f", "sha256": "c85aa870d495e2b558c063d23d4d469ec48ccc782c17a0c10795ab823b58868c" }, "downloads": -1, "filename": "django-phrase-1.0.6.tar.gz", "has_sig": false, "md5_digest": "c6143ad2f72e8da81af949262a77118f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6611, "upload_time": "2017-07-27T13:20:38", "url": "https://files.pythonhosted.org/packages/4d/04/480d4b4c6c6f64fd8358a7b9ee2f11350e329e6df2eb039544ebfcccea0d/django-phrase-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "1495f9e6956283b9483c61ac678fd4b9", "sha256": "57553f84a71591a69804bc01c4f58015eb260fa6a1b856dd97851d88d90d9f6f" }, "downloads": -1, "filename": "django-phrase-1.0.7.tar.gz", "has_sig": false, "md5_digest": "1495f9e6956283b9483c61ac678fd4b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6613, "upload_time": "2019-03-04T13:27:24", "url": "https://files.pythonhosted.org/packages/21/86/f1a0f66536c1954bfadbada10af6bff9b51e2cb48865493b105c90507c3a/django-phrase-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1495f9e6956283b9483c61ac678fd4b9", "sha256": "57553f84a71591a69804bc01c4f58015eb260fa6a1b856dd97851d88d90d9f6f" }, "downloads": -1, "filename": "django-phrase-1.0.7.tar.gz", "has_sig": false, "md5_digest": "1495f9e6956283b9483c61ac678fd4b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6613, "upload_time": "2019-03-04T13:27:24", "url": "https://files.pythonhosted.org/packages/21/86/f1a0f66536c1954bfadbada10af6bff9b51e2cb48865493b105c90507c3a/django-phrase-1.0.7.tar.gz" } ] }