Metadata-Version: 2.1
Name: pyams-i18n
Version: 1.2.0
Summary: PyAMS content internationalization support
Home-page: https://pyams.readthedocs.io
Author: Thierry Florac
Author-email: tflorac@ulthar.net
License: ZPL
Keywords: Pyramid PyAMS
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Framework :: Pyramid
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: test
License-File: LICENSE

==================
PyAMS_i18n package
==================

.. contents::


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 <https://pyams.readthedocs.io>`_; source code
is available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github
<https://github.com/py-ams>`_.


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
=========

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
