This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

pyramid_localize

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 status

Instalation:

pip install pyramid_localize

or add pyramid_localize to your setup.py requirements.

Tests:

You’ll need: packages defined in extra_requires[tests] to run tests, and then:

python setup.py nosetests

CHANGES

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]
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1a2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1a1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_localize-0.1.0-py2.6.egg (39.9 kB) Copy SHA256 Checksum SHA256 2.6 Egg May 4, 2014
pyramid_localize-0.1.0-py2.7.egg (39.9 kB) Copy SHA256 Checksum SHA256 2.7 Egg May 4, 2014
pyramid_localize-0.1.0-py2.py3-none-any.whl (23.2 kB) Copy SHA256 Checksum SHA256 2.6 Wheel May 4, 2014
pyramid_localize-0.1.0-py3.3.egg (41.4 kB) Copy SHA256 Checksum SHA256 3.3 Egg May 4, 2014
pyramid_localize-0.1.0-py3.4.egg (40.9 kB) Copy SHA256 Checksum SHA256 3.4 Egg May 4, 2014
pyramid_localize-0.1.0.tar.gz (22.9 kB) Copy SHA256 Checksum SHA256 Source May 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting