Metadata-Version: 2.1
Name: pyramid_localize
Version: 1.0.3
Summary: pyramid_localize provides translation methods for pyramid, and means to reload translations without stopping the application
Home-page: http://github.com/fizyk/pyramid_localize
Author: Grzegorz Śliwiński
Author-email: fizyk+pypi@fizyk.dev
License: MIT License
Project-URL: Bug Tracker, https://github.com/fizyk/pyramid_localize/issues
Project-URL: Changelog, https://github.com/fizyk/pyramid_localize/blob/v1.0.3/CHANGES.rst
Keywords: pyramid,babel,i18n,l10n
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Framework :: Pyramid
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
Provides-Extra: tests
Provides-Extra: docs
Provides-Extra: babel
License-File: LICENSE
License-File: AUTHORS.rst

pyramid_localize
================


.. image:: https://img.shields.io/pypi/v/pyramid_localize.svg
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Latest PyPI version

.. image:: https://readthedocs.org/projects/pyramid_localize/badge/?version=v1.0.3
    :target: http://pyramid_localize.readthedocs.io/en/v1.0.3/
    :alt: Documentation Status

.. image:: https://img.shields.io/pypi/wheel/pyramid_localize.svg
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Wheel Status

.. image:: https://img.shields.io/pypi/pyversions/pyramid_localize.svg
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Supported Python Versions

.. image:: https://img.shields.io/pypi/l/pyramid_localize.svg
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: License

**pyramid_localize** is a pyramid extension providing ready-to-use, translation
functionality for your pyramid based projects. All you need is to add Babel,
and add some configuration. localize provides also a web interface that allows
you to reload translations live, without reloading application.


Package resources
-----------------

* Bug tracker: https://github.com/fizyk/pyramid_localize/issues
* Documentation: http://pyramid-localize.readthedocs.org/
* PyPI: https://pypi.python.org/pypi/pyramid_localize


Instalation:
============

``pip install pyramid_localize``

or add **pyramid_localize** to your project requirements.

Release
=======

Install pipenv first, Then run:

.. code-block::

    pipenv run tbump [NEW_VERSION]

CHANGES
=======

.. towncrier release notes start

1.0.3 (2022-11-25)
==================

Miscellaneus
------------

- Fixed Changelog project url bumping. (`#408 <https://https://github.com/fizyk/pyramid_localize/issues/408>`_)
- Changed package structure to make it easier to develop it with pipenv without installing it. (`#410 <https://https://github.com/fizyk/pyramid_localize/issues/410>`_)


1.0.2 (2022-11-21)
==================

Miscellaneus
------------

- Add towncrier to manage CHANGES.rst automatically. (`#193 <https://https://github.com/fizyk/pyramid_localize/issues/193>`_)
- Migrate version bumping tool to tbump (`#403 <https://https://github.com/fizyk/pyramid_localize/issues/403>`_)


unreleased
----------

- [enhancement] Support Python 3.11


1.0.1
-------

- [packaging] use setup.cfg to define package metadata nad options

1.0.0
-------

- [dropped deprecation] removed request.locale in favour of pyramid's request.locale_name
- [breaking] Removed dependency on tzf.pyramid_yml. Now all settings should be
  set in the standard ini file.
- [enhancement] Drop support for python 2
- [dependency] Require pycountry at minimum 18.12.8, due to API change
- [functionality] Language object's name and native_name will filled automatically
  on language creation from pycountry [rmed]

0.1.0
-----

- weaker pyramid_yml requirements. Use ``registry['config']`` instead of ``request.config`` which gets added only when explicitly including tzf.pyramid_yml package.
- deprecated request.locale in favour of request.locale_name delivered by Pyramid 1.5
- moved locale negotiator into it's own submodule

backward incompatible
+++++++++++++++++++++
- required cookie name changed to _LOCALE_ to be consistent with other places
- fixed a typo from catalog to catalogue

tests
+++++
- refactor tests to pytest
- introduced pylama checks for:
    - pep8
    - pyflakes
    - pep257
    - mccabe

- license information
- requires at least pyramid 1.5a1 (rely on default localizer reify method)
- py3 compatibility (require at least babel 1.0)
- locale negotiator looks first for request attribute _LOCALE_
- added pyramid_mako dependency (required by pyramid 1.5a2 changes)

0.0.5
-----
- fixes in catalog/index template [zusel, fizyk]
- destination path added in translation_dirs as a translation source as well [fizyk]

0.0.4
-----
- fix issue with translation files path beeing not related to cwd [fizyk]

0.0.2
-----
- fixed MANIFEST.in [fizyk]

0.0.1
-----
- initial release [fizyk]
