Providing multi language fields and widgets
Project description
Introduction
raptus.multilanguagefields provides Archetypes fields and catalog indexes which are able to store multiple languages.
Changelog
1.0b1 (2010-07-30)
added custom kssFieldValidation to work with multilanguage fields
fixed field validation to respect content fallback and work with validators
0.9 (2010-05-20)
added catalog.xml to test profile to add multilanguage indexes
implemented default language fallback #5
0.8 (2010-02-23)
reverted change @110991
new doctests added without errors :
multilanguage text field ‘title’ added in SampleType
copy of schemas with multilanguage fields inside
new doctests added with errors :
standard plone rename forms do not work
object serialization with multilanguage fields inside do not work (ExtensionClass error)
fix the two previous errors :
the set method in MultiLanguageFieldMixin set the value for the current language when value is not a dict (fix rename forms)
the MultiLanguageFieldMixin class must inherit from ExtensionClass.Base
the MultiLanguageWidgetMixin class must inherit from ExtensionClass.Base
0.7 (2010-02-16)
cleaned up and added patches necessary when using primary fields with archetypes schemaextender (patches/archetypes.py)
removed unused variable (widgets.py)
Added license information
added “Uninstall” in uninstall profile registration for a better GenericSetup visibility in ZMI
added minimal framework for tests
added a minimal doctest (that was broken)
fix zope2 initialization (minor refactoring) to make doctests working
Added 2 Archetypes Schemata patches to avoid errors when reordering fields with an external schema extender (IOrderableSchemaExtender) applied to the schema with multilingual fields inside.
Added validation_required, a simple validation for required multilingual fields.
Some refactoring to make code more clear :
put monkey patches in patches folder
put different patches in different files
added Log whith patches
put MultiLanguageAware in a separate file (proxy.py)
Added samples types and specific profile for tests
Added doctests on multilingual fields and catalog search
fix http://plone.org/products/raptus.multilanguagefields/issues/2 translate a rich widget without kupu
The MultilanguageFieldMixin must inherit from Products.Archetypes.Field.ObjectField and MultilanguageWidgetMixin from Products.Archetypes.Widget.TypesWidget The Super Class of fields/widgets must be a field/widget to avoid problems with some low level methods.
0.6 - (2010-01-29)
changed criterion indices registration to avoid warning messages on startup
0.5 - (2010-01-28)
bugfix in multilanguage ZCTextIndex where index setter set the same value for indexes of all languages
0.4 - (2010-01-28)
added support for multilanguage image fields
0.3 - (2010-01-26)
added default atct indices to new criterion registrations as the old ones are overwritten
added multilanguageindexes to atct criterion registry
fixed UnicodeEncodeError in CatalogBrain monkey patch
0.2 - (2009-12-02)
Added README.txt
Metadata of catalog brains now contains value of current language rather than a MultilanguageAware object (fixes issues when converting to unicode)
Added attribute access
0.1 - (2009-10-30)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for raptus.multilanguagefields-1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9e08ea14aa59e401a66e4bae290668ae1e0c056b0ca15f166d3ad6e9543ea3 |
|
MD5 | 6c4a23bf013ffadacfb2985fff506888 |
|
BLAKE2b-256 | fa4a265c643adf65f262d8abf3bc3aa79625a0df93b481a16ec404a4ed0ae0e2 |