{ "info": { "author": "JeanMichel FRANCOIS aka toutpt", "author_email": "toutpt@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Plone :: 4.2", "Programming Language :: Python" ], "description": "Introduction\n============\n\nThis addon is an archetypes multilingual keyword widget for Plone.\n\nHow to use\n==========\n\nAs any widget for Archetypes::\n\n from Products.Archetypes.atapi\n from archetypes.linguakeywordwidget.widget import LinguaKeywordWidget\n atapi.Schema((\n atapi.LinesField('subject',\n multiValued=1,\n accessor=\"Subject\",\n widget=LinguaKeywordWidget()),\n ))\n\nHow it works\n============\n\nKeywords are stored in catalog but prefixes with language code before write\nand unprefixed before display. It means if you have widget / viewlet /view\nthat access to data you must first remove language that way::\n\n keywords = context.Subject()\n linguakeywords = []\n language = context.Language()\n for keyword in value:\n if keyword.startswith('%s-' % language):\n linguakeywords.append(keyword[len(language) + 1:])\n else:\n linguakeywords.append(keyword)\n return linguakeywords\n\n\nredomino.keywordalias_\n======================\n\nkeywordalias achieve same goal in a different way. With keyword alias\nyour keywords are translated in backoffice. With linguakeywords you have\njust different keywords.\n\nCredits\n=======\n\nCompanies\n---------\n\n|cirb|_ CIRB / CIBG\n\n* `Contact CIRB `_\n\n|makinacom|_\n\n * `Planet Makina Corpus `_\n * `Contact Makina Corpus `_\n\nPeople\n------\n\n- JeanMichel FRANCOIS aka toutpt \n\n.. |cirb| image:: http://www.cirb.irisnet.be/logo.jpg\n.. _cirb: http://cirb.irisnet.be\n.. _sitemap: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=183668&topic=8476&ctx=topic\n.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif\n.. _makinacom: http://www.makina-corpus.com\n.. _documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to\n.. _redomino.keywordalias: https://github.com/redomino/redomino.keywordalias\n\nChangelog\n=========\n\n1.1 (2013-01-16)\n----------------\n\n- Add a workaround to make collectKeyword script support field added with schemaextender.\n- Rename the collectKeyword script to getLinguaKeywords to not conflict existings instance\n- Add tests\n\n1.0 (2012-11-02)\n----------------\n\n- Fix issue when no keyword exists and no one is added by the user\n\n\n1.0a3 (2012-07-10)\n------------------\n\n- Fix issue on collectKeywords\n\n\n1.0a2 (2012-05-22)\n------------------\n\n- remove span log in edit mode\n\n1.0a1 (2012-05-22)\n------------------\n\n- Initial release", "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/toutpt/archetypes.linguakeywordwidget", "keywords": "Plone multilanguage keywords widget archetypes", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "archetypes.linguakeywordwidget", "package_url": "https://pypi.org/project/archetypes.linguakeywordwidget/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/archetypes.linguakeywordwidget/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/toutpt/archetypes.linguakeywordwidget" }, "release_url": "https://pypi.org/project/archetypes.linguakeywordwidget/1.1/", "requires_dist": null, "requires_python": null, "summary": "Archetypes keyword widget with multilanguage support", "version": "1.1" }, "last_serial": 786385, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a7cf77858495a563d42b9ed341832aa8", "sha256": "535b3eb2ce1585512383a28f2cfe43feae6a792aa341c814b73a82db204054f5" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.0.zip", "has_sig": false, "md5_digest": "a7cf77858495a563d42b9ed341832aa8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28122, "upload_time": "2012-11-02T17:18:13", "url": "https://files.pythonhosted.org/packages/30/fb/ff00ab4dbac480c9e743e9e36251d44041ba854c963430815e78c05418a3/archetypes.linguakeywordwidget-1.0.zip" } ], "1.0a1": [ { "comment_text": "", "digests": { "md5": "526a6bb570c1113d2ad5e224e1924e6a", "sha256": "079addce0aa90042bb62b307366a797f4fc1f2cebfd3cce50fdcbd23a1a64c6d" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.0a1.zip", "has_sig": false, "md5_digest": "526a6bb570c1113d2ad5e224e1924e6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27998, "upload_time": "2012-05-22T16:52:49", "url": "https://files.pythonhosted.org/packages/17/7b/b3048877004cbf3f8037b1491f08aaedd80a38c997e1ce6e67e720b4ce76/archetypes.linguakeywordwidget-1.0a1.zip" } ], "1.0a2": [ { "comment_text": "", "digests": { "md5": "68a6dcfc93de9ba53b6e19a231b7b086", "sha256": "8f9c49574bfae696b564340994544b560c7cfd40a1afc4bd51a27ce6682b6ad2" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.0a2.zip", "has_sig": false, "md5_digest": "68a6dcfc93de9ba53b6e19a231b7b086", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28063, "upload_time": "2012-05-22T17:19:35", "url": "https://files.pythonhosted.org/packages/4e/c8/ef433e5a07092a147eb7a7cd5a6787f9e7fe2edfa43b41d7913856bd0181/archetypes.linguakeywordwidget-1.0a2.zip" } ], "1.0a3": [ { "comment_text": "", "digests": { "md5": "44cdc543f21babef08b1aba9f29c6c61", "sha256": "ec0cd1f7dac431030fe093949b3fbdf5017609330e65241c6f05febf97e2bfac" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.0a3.zip", "has_sig": false, "md5_digest": "44cdc543f21babef08b1aba9f29c6c61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28155, "upload_time": "2012-07-10T15:21:47", "url": "https://files.pythonhosted.org/packages/15/86/77b5d2e2801af7180e17b2f5fbb99255c9f82abc13971cbbc44a7d045b06/archetypes.linguakeywordwidget-1.0a3.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "e6a1fc81ad066cacb4d9b7b1d8f4c3e7", "sha256": "aee09b1c788ebfcd68fd3446c00fef2e595f0d3b62a7052be0944d72fab71efa" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.1.zip", "has_sig": false, "md5_digest": "e6a1fc81ad066cacb4d9b7b1d8f4c3e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30263, "upload_time": "2013-01-16T14:21:30", "url": "https://files.pythonhosted.org/packages/22/13/3db6fefb31b983d1a9897c1170eb2d541de81e1c7126caccd8ac3ddf8f6b/archetypes.linguakeywordwidget-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6a1fc81ad066cacb4d9b7b1d8f4c3e7", "sha256": "aee09b1c788ebfcd68fd3446c00fef2e595f0d3b62a7052be0944d72fab71efa" }, "downloads": -1, "filename": "archetypes.linguakeywordwidget-1.1.zip", "has_sig": false, "md5_digest": "e6a1fc81ad066cacb4d9b7b1d8f4c3e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30263, "upload_time": "2013-01-16T14:21:30", "url": "https://files.pythonhosted.org/packages/22/13/3db6fefb31b983d1a9897c1170eb2d541de81e1c7126caccd8ac3ddf8f6b/archetypes.linguakeywordwidget-1.1.zip" } ] }