repoze.bfg 1.3a2 has been released.

You may install it via:

   easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg

Or via PyPI.

The changelog follows

1.3a2 (2010-04-28)
==================

Features
--------

- A locale negotiator no longer needs to be registered explicitly. The
   default locale negotiator at
   ``repoze.bfg.i18n.default_locale_negotiator`` is now used
   unconditionally as... um, the default locale negotiator.

- The default locale negotiator has become more complex.

   * First, the negotiator looks for the ``_LOCALE_`` attribute of
     the request object (possibly set by a view or an event listener).

   * Then it looks for the ``request.params['_LOCALE_']`` value.

   * Then it looks for the ``request.cookies['_LOCALE_']`` value.

Backwards Incompatibilities
---------------------------

- The default locale negotiator now looks for the parameter named
   ``_LOCALE_`` rather than a parameter named ``locale`` in
   ``request.params``.

Behavior Changes
----------------

- A locale negotiator may now return ``None``, signifying that the
   default locale should be used.

Documentation
-------------

- Documentation concerning locale negotiation in the
   Internationalizationa and Localization chapter was updated.

- Expanded portion of i18n narrative chapter docs which discuss
   working with gettext files.

-- 
Chris McDonough
Agendaless Consulting, Fredericksburg VA
The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to