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.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
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
Built Distribution
File details
Details for the file pyams_i18n-2.0.0.tar.gz
.
File metadata
- Download URL: pyams_i18n-2.0.0.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600008a6b31264d3cebfe92fc8c8584818bcef6f9d7ce9a4a62e85dee1e999d0 |
|
MD5 | dcf4767f4b6b9ff0be67362cc843ef4c |
|
BLAKE2b-256 | 265684c17cfc1338b39b1ef7bb5ef08e2b6f3f187226e191675ef2d8cf7e9d85 |
File details
Details for the file pyams_i18n-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyams_i18n-2.0.0-py3-none-any.whl
- Upload date:
- Size: 49.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e6861f658c3dc0c9343cbe97a3daf2c57b32c9b9039ea9a05387bafcd1c622 |
|
MD5 | c3582be1b24d66c901c4bd4ed574bf44 |
|
BLAKE2b-256 | 32f5ebd5a2748194d992a15ab05a77c934ca36fa0bd22d843c159deaf8346554 |