A zope.schema field for inline translations.

Introduction

This package provides a zope.schema based field which allows multiple translations within the field. It uses a custom dictionary class for the storage. There is also a widget available for the z3c.form library.

Changelog

0.1.2 (2014-11-01)

• Return empty dict when value is None.

• Test for correct value types before we set any data.

• Correctly evaluate the bool value of the I18NDict when the field is required.

• When the fallback is the first value found, sort the values so that the result is consistent with each repeated call.

0.1.1 (2014-09-25)

• Always return the super call instead of None when no sub-indices have been created yet.

• Add tests to cover the sort method with and without values.

0.1 (2014-09-23)

• Initial release.

Project details

Uploaded source