{ "info": { "author": "Vincent Agnano", "author_email": "vincent.agnano@scopyleft.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Internationalization", "Topic :: Utilities" ], "description": "# Django Transadmin - Translate your text from the admin\n\nCategories: (translation, internationalization, i18n)\n\n[![Build Status](https://api.travis-ci.org/vinyll/django-transadmin.png)](http://travis-ci.org/vinyll/django-transadmin)\n\nWorks on Python 3.x and Python 2.6 or more.\n\nCompatible with the default Django template, [Jinja2](http://jinja.pocoo.org/) and [Jingo](https://github.com/jbalogh/jingo)\n\n\n#### Benefits\n\nAdministrate your translations directly from the admin.\nImport your translations string from po files.\nCompatible with [Jingo](https://github.com/jbalogh/jingo)\n\n\n#### Quick tour\n\nIn a template:\n\n```html\n{{ _(\"String to translate\") }}\n```\n\nIn a python file:\n\n```python\nfrom transadmin.helpers import _\n\ntranslated_text = _(\"String to translate\")\n```\n\n##### Import translation\n\nYou can directly create a string to translate from the admin.\nWhen it comes to generate many pages, you may prefer the automation script.\n\n##### Manually\n\nget to your admin (transadmin > Translation) and add:\n- source: \"String to translate\"\n- language: \"fr\"\n- trans: \"Chaine \u00e0 traduire\"\n\n\n##### Automation script\n\nDjango allows you to generate _po_ files from templates, views and so on:\n```bash\ndjango-admin.py makemessages -l fr\n```\n\n_Transadmin_ then allows you to import a _po_ file into the database:\n\n```bash\npython manage.py transadmin_import my/fr/file.po -l fr\n```\n\nThis command reads translations from _my/file.po_ and import every string into\nthe database for _fr_ language.\n\nYour untranslated strings are now ready to get translated from the admin!\n\n> Even though the `transadmin_import` command is safe and preserves\n> your existing data. You are highly encouraged to make a backup before running\n> such commands.\n\nYou can now view your website in French.\n\n\n## Installation\n\n#### Download\n\nVia pip ![latest version](https://pypip.in/v/django-transadmin/badge.png)\n\n```bash\npip install django-transadmin\n```\n\nor the bleeding edge version\n\n```bash\npip install -e git+https://github.com/vinyll/django-transadmin.git#egg=django-transadmin\n```\n\n#### update INSTALLED_APPS\n\nIn _settings.py_, add _transadmin_ in your INSTALLED_APPS\n\n```python\nINSTALLED_APPS = (\n\t# \u2026,\n\t'transadmin',\n)\n```\n\nCongratulations, you're all set!\n\n\n#### Configuration\n\nA few settings are available:\n\n- `TRANSADMIN_LANGUAGES`: a tuple of tuples for available languages for the admin. Reads the settings.LANGUAGES by default.\n- `TRANSADMIN_CONTEXTS`: a tuple of tuples for available context. Free text by default.\n- `TRANSADMIN_FALLBACK_LANGUAGE`: a string representing the code of the language\nto fallback to if a string is not translated into the current language.\nNo fallback by default, displays the untranslated text.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/vinyll/django-transadmin", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-transadmin", "package_url": "https://pypi.org/project/django-transadmin/", "platform": "", "project_url": "https://pypi.org/project/django-transadmin/", "project_urls": { "Homepage": "http://github.com/vinyll/django-transadmin" }, "release_url": "https://pypi.org/project/django-transadmin/0.4/", "requires_dist": null, "requires_python": "", "summary": "Translate texts from the admin interface.", "version": "0.4" }, "last_serial": 3027857, "releases": { "0.1": [], "0.2.1": [], "0.2.2": [], "0.2.3": [], "0.2.4": [ { "comment_text": "", "digests": { "md5": "2b33fc8b08058e517011d237adf37993", "sha256": "eb8a7b74a3b950b720e700f8d999061b0f353298f04efd6f05d50fc6feae3407" }, "downloads": -1, "filename": "django-transadmin-0.2.4.tar.gz", "has_sig": false, "md5_digest": "2b33fc8b08058e517011d237adf37993", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5434, "upload_time": "2013-11-15T21:00:49", "url": "https://files.pythonhosted.org/packages/ea/76/6f999ace312020189afa00f9bc060ca0035ce7ec93ea808ddbc81538edbb/django-transadmin-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "15d8f737e13c39cb3049f004a6c056d1", "sha256": "c68d2a7e13e889540028d5deaa22eb06d0bcdef73e7eed03d8f23b3028936102" }, "downloads": -1, "filename": "django-transadmin-0.2.5.tar.gz", "has_sig": false, "md5_digest": "15d8f737e13c39cb3049f004a6c056d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5445, "upload_time": "2013-11-17T12:33:32", "url": "https://files.pythonhosted.org/packages/27/99/63519ff83e016ad1da88bf987ede003d9ef9e5670b363c21d0bd735ffe4f/django-transadmin-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "ca9f54f017a14f824cf35800dee3a2d7", "sha256": "648c666402a6a518a4138276aa074ebdc67129b3f88b832457ca305657239576" }, "downloads": -1, "filename": "django-transadmin-0.2.6.tar.gz", "has_sig": false, "md5_digest": "ca9f54f017a14f824cf35800dee3a2d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6315, "upload_time": "2013-11-17T14:07:33", "url": "https://files.pythonhosted.org/packages/6e/c0/c98bb4aa03966f4977ecc62c085ce7d4216f805251ac4d6501d0b5fede96/django-transadmin-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "e05cb00f52250ed75990892fc1d131ca", "sha256": "b3999c007c7a7dda3da526913b0c9a0e4cd062c5ca5513aa9e6a715593020ce6" }, "downloads": -1, "filename": "django-transadmin-0.2.7.tar.gz", "has_sig": false, "md5_digest": "e05cb00f52250ed75990892fc1d131ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6315, "upload_time": "2013-11-17T14:10:39", "url": "https://files.pythonhosted.org/packages/57/d3/1a9e05eb5d93eb83c91071a95875212004a5e8ce7cbc8a47ad2885537130/django-transadmin-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "7130331388e675318d7edcaf01851c40", "sha256": "f830eee18f9a46146f57dfe9ed9032815ef2a61a1c50e80741a9074d16faf9c4" }, "downloads": -1, "filename": "django-transadmin-0.2.8.tar.gz", "has_sig": false, "md5_digest": "7130331388e675318d7edcaf01851c40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5659, "upload_time": "2015-01-20T21:56:13", "url": "https://files.pythonhosted.org/packages/6e/7a/7125766fcd136b0298d9f80957517f7fa9fad13652aeb2d2ef7f22a65211/django-transadmin-0.2.8.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "235231be45a6b58e665cfb765188a409", "sha256": "314a69d2d2b4f1d21e825493501895fb4097803640bdd68dea954046c755dd10" }, "downloads": -1, "filename": "django-transadmin-0.3.0.tar.gz", "has_sig": false, "md5_digest": "235231be45a6b58e665cfb765188a409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5808, "upload_time": "2016-09-06T16:55:24", "url": "https://files.pythonhosted.org/packages/b9/52/77b0e15c25ed14d93cc35bce24eec06b95d903d0f4c41f778dd7831e83bc/django-transadmin-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "40378519251dd0feb8fb1770799216ff", "sha256": "8780d0c841e1fa94e74dff49dd66e4b777c507a912653d299ce467b0d89b8216" }, "downloads": -1, "filename": "django-transadmin-0.3.1.tar.gz", "has_sig": false, "md5_digest": "40378519251dd0feb8fb1770799216ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5825, "upload_time": "2016-09-06T17:33:35", "url": "https://files.pythonhosted.org/packages/15/41/ac649318795157681992678a1f9226dedcf82c45fbba01e29f8aec9104b2/django-transadmin-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "5782eb7319dfc95bdf8c0fb25bcd8c0c", "sha256": "43031b7264cc6941393d7ce63ffde1c5ea2f3f6e4b0041f9548c141d5d1c9491" }, "downloads": -1, "filename": "django-transadmin-0.3.2.tar.gz", "has_sig": false, "md5_digest": "5782eb7319dfc95bdf8c0fb25bcd8c0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5841, "upload_time": "2016-09-08T09:43:56", "url": "https://files.pythonhosted.org/packages/84/ac/1f648b0e60cba78429745dbba5baad1bdff8a594ac31d98dd7030792ecd8/django-transadmin-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "52ae4a6d3931554020c0b508384cffe7", "sha256": "a72d097772edca585bbbbddc2505091c840502cdd4229cdeb5190704d6cbdd87" }, "downloads": -1, "filename": "django-transadmin-0.3.3.tar.gz", "has_sig": false, "md5_digest": "52ae4a6d3931554020c0b508384cffe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5828, "upload_time": "2016-09-11T16:03:14", "url": "https://files.pythonhosted.org/packages/a1/0a/66d4c224a3003c818d13c06f10465a69aad6ae900df2365051f8fd5b9c6b/django-transadmin-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "2b05b82b696572881f22bc74531ffba7", "sha256": "81c53544ce216559694842e7462dafcafce2103c9edbe851f3ef0e5a23412889" }, "downloads": -1, "filename": "django-transadmin-0.3.4.tar.gz", "has_sig": false, "md5_digest": "2b05b82b696572881f22bc74531ffba7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6000, "upload_time": "2016-10-08T06:43:54", "url": "https://files.pythonhosted.org/packages/80/d7/370ee452d943912020ce670c1a709be6b229520bbbb97fec770557f4ffd5/django-transadmin-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "b29d47fc0853059cd7d6f3cc3f421ade", "sha256": "fad83cd0cc1ec0f0ea096638824ff2bf492a24d3f150fc956ffcbfeef5b088e3" }, "downloads": -1, "filename": "django-transadmin-0.3.5.tar.gz", "has_sig": false, "md5_digest": "b29d47fc0853059cd7d6f3cc3f421ade", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6019, "upload_time": "2016-10-08T06:50:13", "url": "https://files.pythonhosted.org/packages/8f/ff/b0416a49a085128710354e90efbb39338f860a975c55e33bce9a7c27e763/django-transadmin-0.3.5.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "56da998ef02614ef82ffe51563f37d6c", "sha256": "99d21fe011c701e21e544aabf943bcf8931e4f2ccc0e303961f998d634666163" }, "downloads": -1, "filename": "django-transadmin-0.4.tar.gz", "has_sig": false, "md5_digest": "56da998ef02614ef82ffe51563f37d6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6011, "upload_time": "2017-07-17T06:42:40", "url": "https://files.pythonhosted.org/packages/0a/71/a2f6e996b924075e24e35936bd952d166a5163668568056bfab742ce7391/django-transadmin-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "56da998ef02614ef82ffe51563f37d6c", "sha256": "99d21fe011c701e21e544aabf943bcf8931e4f2ccc0e303961f998d634666163" }, "downloads": -1, "filename": "django-transadmin-0.4.tar.gz", "has_sig": false, "md5_digest": "56da998ef02614ef82ffe51563f37d6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6011, "upload_time": "2017-07-17T06:42:40", "url": "https://files.pythonhosted.org/packages/0a/71/a2f6e996b924075e24e35936bd952d166a5163668568056bfab742ce7391/django-transadmin-0.4.tar.gz" } ] }