Skip to main content

Package to provide translation methods for pyramid, and means to reload translations without stopping the application

Project description


Latest PyPI version Documentation Status Wheel Status Supported Python Versions 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 status

Tests Coverage Status Requirements Status


pip install pyramid_localize

or add pyramid_localize to your requirements.


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

python nosetests



  • 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


  • 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)


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


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


  • fixed [fizyk]


  • initial release [fizyk]

Project details

Download files

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

Files for pyramid_localize, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyramid_localize-0.1.0-py2.6.egg (39.9 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size pyramid_localize-0.1.0-py2.7.egg (39.9 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size pyramid_localize-0.1.0-py2.py3-none-any.whl (23.2 kB) File type Wheel Python version 2.6 Upload date Hashes View
Filename, size pyramid_localize-0.1.0-py3.3.egg (41.4 kB) File type Egg Python version 3.3 Upload date Hashes View
Filename, size pyramid_localize-0.1.0-py3.4.egg (40.9 kB) File type Egg Python version 3.4 Upload date Hashes View
Filename, size pyramid_localize-0.1.0.tar.gz (22.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page