{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python" ], "description": "Introduction\n============\n\n.. Caution::\n\n This package is still in a public experimentation phase.\n\n\nThis package aims to provide a simple way to make some fields on a dexterity\ncontent type available in more than one language (\"multilanguage\").\nIt tries to do what raptus.multilanguagefields does for Archetypes content\ntypes.\n\n\nAssumptions\n-----------\n\n* It should be possible for a site to add a new supported language without\n having to migrate content.\n (A modification in the code for your customer-specific package would be ok.)\n\n\nUsage\n-----\n\nMultilanguage text line::\n\n from collective.multilanguagefields.fields import TextLine as MLTextLine\n from plone.supermodel import model\n\n class IMyType(model.Schema):\n\n some_text = MLTextLine(\n title=_(u\"Fieldname\"),\n required=True,\n )\n\n\nFeatures\n--------\n\n\nCompatibility\n-------------\n\nPlone 4.3 and upwards.\n\n\nMaking Title field multilanguage\n--------------------------------\n\nYou cant use the default ``plone.app.content.interfaces.INameFromTitle``\nbehavior.\nInstead, use ``collective.multilanguagefields.interfaces.INameFromMultiLanguageTitle``\n\nIn addition, your content type needs to implement its own ``Title()`` method\nwhich takes into account that the title attribute contains a dictionary.\nThe ``ml_value`` method from ``utils.py`` might be helpful.\n\n\nUsing multilanguage fields in templates\n---------------------------------------\n\nYou can do this as follows::\n\n \n\nYou can also specify a default value::\n\n \n\nChangelog\n=========\n\n0.7 (2016-01-22)\n----------------\n\n- Don't raise DefaultLanguageMissing when field is not required and no other values are given.\n\t[moverkamp]\n\n\n0.6 (2015-01-05)\n----------------\n\n- Nothing changed yet.\n\n\n0.5 (2015-01-05)\n----------------\n\n- Nothing changed yet.\n\n\n0.4 (2015-01-05)\n----------------\n\n- Nothing changed yet.\n\n\n0.3 (2015-01-05)\n----------------\n\n- Nothing changed yet.\n\n\n0.2 (2015-01-05)\n----------------\n\n- Nothing changed yet.\n\n\n0.1.1 (2015-01-02)\n------------------\n\n- Nothing changed yet.\n\n\n0.1 (2015-01-02)\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": "http://svn.plone.org/svn/collective/", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.multilanguagefields", "package_url": "https://pypi.org/project/collective.multilanguagefields/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.multilanguagefields/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.plone.org/svn/collective/" }, "release_url": "https://pypi.org/project/collective.multilanguagefields/0.7/", "requires_dist": null, "requires_python": null, "summary": "Multi language fields for Plone", "version": "0.7" }, "last_serial": 1917314, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7fec83a20477c0b5f954d8440057892a", "sha256": "6000a24ab5fe3d7f4d41c043f64f2d92cf42e3a841a29f9acb351cf07e29e7e3" }, "downloads": -1, "filename": "collective.multilanguagefields-0.1.tar.gz", "has_sig": false, "md5_digest": "7fec83a20477c0b5f954d8440057892a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6447, "upload_time": "2015-01-02T14:30:47", "url": "https://files.pythonhosted.org/packages/10/b0/3ac9c93bb2f956491a1ae90b04882acbc7ddcdbd871b9472d22e6a23de49/collective.multilanguagefields-0.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f4ae5dd590bef4eb6c1e6e8f9042ead5", "sha256": "77ae6d310ee18604ccc3323a54d38daf781f467930c9b543be49b2d7d6277f40" }, "downloads": -1, "filename": "collective.multilanguagefields-0.3.zip", "has_sig": false, "md5_digest": "f4ae5dd590bef4eb6c1e6e8f9042ead5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25091, "upload_time": "2015-01-05T08:49:02", "url": "https://files.pythonhosted.org/packages/50/ea/b14c18dfeba97bf1736a753f970305291148ea06c4c8253c1c1d7728f848/collective.multilanguagefields-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "31b33595416565f01c7b4c62103ea4fa", "sha256": "656ca11ce14fd4c763388a52a25570d62d124e60a0e61225850f5ec1d7df6b3a" }, "downloads": -1, "filename": "collective.multilanguagefields-0.4.zip", "has_sig": false, "md5_digest": "31b33595416565f01c7b4c62103ea4fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25102, "upload_time": "2015-01-05T09:02:07", "url": "https://files.pythonhosted.org/packages/79/1f/88baeb6e8e387eb58b44800a5463b1aa7598c988d798468ad218338bbc1c/collective.multilanguagefields-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "4413c099fe87b793596b7dc160a8a27b", "sha256": "00e490f944de26471c60a5b2f162b05d97db014340e47ad3572c48bf8da53957" }, "downloads": -1, "filename": "collective.multilanguagefields-0.5.zip", "has_sig": false, "md5_digest": "4413c099fe87b793596b7dc160a8a27b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25169, "upload_time": "2015-01-05T09:33:47", "url": "https://files.pythonhosted.org/packages/da/0d/156785bf0dcb5f0dd61444247ff0f6d5685aa1262e3ee8964fa1e19448e6/collective.multilanguagefields-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "2e19b633fc3a9f884aa975b12efe2677", "sha256": "a4352fa0f3176f23b93a4ec25da7662476992be031e4f24b7457db44625bf742" }, "downloads": -1, "filename": "collective.multilanguagefields-0.6.zip", "has_sig": false, "md5_digest": "2e19b633fc3a9f884aa975b12efe2677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25182, "upload_time": "2015-01-05T10:18:01", "url": "https://files.pythonhosted.org/packages/f3/6e/52374524df42b874c03558043726755ad1c2a220d9d84fe623fc5f4ac92f/collective.multilanguagefields-0.6.zip" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "a6342368f09384b4c3f7b8d1fd38712c", "sha256": "0044d101996870905235db5477e5bb66fd7b286eb87fdd42bb946258fb3ae27d" }, "downloads": -1, "filename": "collective.multilanguagefields-0.7.zip", "has_sig": false, "md5_digest": "a6342368f09384b4c3f7b8d1fd38712c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25477, "upload_time": "2016-01-22T13:59:58", "url": "https://files.pythonhosted.org/packages/14/03/c4cee79926c4496bc6093eee652df57025147a39b321153f360738f0020a/collective.multilanguagefields-0.7.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6342368f09384b4c3f7b8d1fd38712c", "sha256": "0044d101996870905235db5477e5bb66fd7b286eb87fdd42bb946258fb3ae27d" }, "downloads": -1, "filename": "collective.multilanguagefields-0.7.zip", "has_sig": false, "md5_digest": "a6342368f09384b4c3f7b8d1fd38712c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25477, "upload_time": "2016-01-22T13:59:58", "url": "https://files.pythonhosted.org/packages/14/03/c4cee79926c4496bc6093eee652df57025147a39b321153f360738f0020a/collective.multilanguagefields-0.7.zip" } ] }