Skip to main content

ps.zope.i18nfield

PyPI Version Supported Python Versions Travis CI status Coverage Status

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.

Contributors

Changelog

0.8 (2018-06-19)

  • Don’t use formControls div to prevent modals bug.

  • Moved sorting method to utility to make it easier to customize sort order.

0.7 (2018-01-23)

  • Add custom display widget for Plone 5.

0.6 (2018-01-19)

  • Add widget option for custom default language.

  • Add option to remove existing languages for Plone 5.

0.5 (2018-01-13)

  • Don’t depend on z3c.indexer which might only be used in pure Zope 3 applications.

0.4 (2018-01-13)

  • Fix unicode error in z3c.form data converter.

  • Add custom widget template for Plone 5.

0.3 (2017-11-17)

  • Add __hash__ method to I18NDict.

0.2 (2016-10-26)

  • Add missing method definition for ILanguageAvailability interface.

  • Add plone.registry persistent adapters.

  • Add required Plone utilities.

0.1.4 (2015-02-13)

  • Allow for indexing of normal dict and other values as well as I18NDict.

  • Better to iterate over the existing indices in case the available language configuration changes.

0.1.3.1 (2014-11-14)

  • Added en translation.

0.1.3 (2014-11-14)

  • Added translations (de, es).

  • Provide the ‘Add translation’ value already translated (e.g. for JS).

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.

Release files for ps.zope.i18nfield 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ps.zope.i18nfield 0.8
File Size Uploaded
ps.zope.i18nfield-0.8.zip 54.9 kB Details

Release files / ps.zope.i18nfield-0.8.zip

Download URL ps.zope.i18nfield-0.8.zip
Size 54.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dd7a802990ad36e7052a38cfb65c61989b88a1e54be033cdb3f5439fffdbc8ad
BLAKE2b-256 checksum
How to use checksums
7a57f4c11eb3d8a6feedf43306442ef1e9882574a8c7a0c856a4b0b995d77cc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1.4

1 release file

0.1.3.1

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page