Skip to main content

PyAMS content internationalization support

Project description

What is PyAMS

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.

What is PyAMS_i18n?

PyAMS_i18n is a package dedicated to contents internationalization management. It allows to define an I18n negotiator utility, which will handle langue negotiation against browser settings, and provides custom schema fields for text or images which will allow to store a given property in several languages, and to display the correct version.

Changelog

2.1.2

  • updated support for Python 3.12

2.1.1

  • added exception handler when no registered negotiator is found

  • added support for Python 3.12

2.1.0

  • added method to get I18n value from several attributes given in specific order

2.0.0

  • migrated to Pyramid 2.0

1.2.0

  • added support for default value when using I18n query_attribute method or i18n TALES extension

  • added support for Python 3.10 and 3.11

1.1.0

  • removed support for Python < 3.7

  • updated doctests

1.0.7

  • removed Travis-CI configuration

1.0.6

  • updated “adapter_config” decorator arguments names

1.0.5

  • updated management of default value in I18n schema fields

  • added “default” argument in II18n “query_attribute” method

  • updated doctests

1.0.4

  • updated Travis-CI integration

1.0.3

  • updated doctests

1.0.2

  • use request’s registry instead of global registry when looking for settings

1.0.1

  • force server language of language negotiator in constructor to avoid recursion error when getting localizer

1.0.0

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_i18n-2.1.2.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_i18n-2.1.2-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file pyams_i18n-2.1.2.tar.gz.

File metadata

  • Download URL: pyams_i18n-2.1.2.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pyams_i18n-2.1.2.tar.gz
Algorithm Hash digest
SHA256 f0d263b00ba4896fa04fe8e70a34b97be599063af46bd720d22279177f3410b9
MD5 23586cdbadce4aee10a2139d6e538064
BLAKE2b-256 4e58218ca86077eb4cba20e47506fbbaefd54ac8a42bb685482e01fec79cc58e

See more details on using hashes here.

File details

Details for the file pyams_i18n-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyams_i18n-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 50.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_i18n-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 983b6bccc0ab55fc161cb41b255c5130ff3dcca8e878c12e80cd71a8d773225b
MD5 caff84fd5fd7229a6c1fa9fd29cbe48b
BLAKE2b-256 de6d6d411d4a18bd8834695a7381c03b3d52463bfd29dfec8632bb2b8b04027a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page