diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-21 02:43:02 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-21 02:43:02 -0500 |
| commit | ddf07e7f1486b195bc337a3035f6852980a4d3d7 (patch) | |
| tree | 7c6d2d12710c9abdf5ac9931f00aaaeb7ac8feaa | |
| parent | 6f1e7a19e6a9779ef1ab46cef584255c0ac7d471 (diff) | |
| download | pyramid-ddf07e7f1486b195bc337a3035f6852980a4d3d7.tar.gz pyramid-ddf07e7f1486b195bc337a3035f6852980a4d3d7.tar.bz2 pyramid-ddf07e7f1486b195bc337a3035f6852980a4d3d7.zip | |
- Add (minimal) documentation about using I18N within Mako templates to
"Internationalization and Localization" narrative chapter.
| -rw-r--r-- | CHANGES.txt | 3 | ||||
| -rw-r--r-- | TODO.txt | 13 | ||||
| -rw-r--r-- | docs/narr/i18n.rst | 7 |
3 files changed, 18 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 5c5588a45..4cea09e98 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -29,6 +29,9 @@ Documentation ``route_path``, ``route_url``, and ``static_url`` methods to ``pyramid.request.Request`` API docs. +- Add (minimal) documentation about using I18N within Mako templates to + "Internationalization and Localization" narrative chapter. + Deprecations ------------- @@ -8,17 +8,20 @@ Must-Have (before 1.0) - MANIFEST.in? https://github.com/Pylons/pyramid/issues#issue/95 -- Explain how to use i18n localization in Mako and Jinja2. See also - - http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and - https://github.com/Pylons/pyramid_jinja2/pull/14 (pyramid_jinja2 i18n), as - well as - - http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/ +- Explain how to use i18n localization in Mako better. Currently we just + link to + http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/, + but I've asked Alexandre if we can include his text in the documentation. - Figure out what to do with "Forms" chapter in narr docs. Should-Have ----------- +- I18N support for pyramid_jinja2. See also - + http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and + https://github.com/Pylons/pyramid_jinja2/pull/14 + - Speed up startup time (defer _bootstrap and registerCommonDirectives() until needed by ZCML, as well as unfound speedups). diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index 83973a17e..02e7dba64 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -735,6 +735,13 @@ this support out of the box and may need special code to do an equivalent. For those, you can always use the more manual translation facility described in :ref:`performing_a_translation`. +Mako Pyramid I18N Support +------------------------- + +See `Alexandre Bourget's blog entry +<http://blog.abourget.net/2011/1/13/pyramid-and-mako:-how-to-do-i18n-the-pylons-way/>`_ +to add idiomatic I18N support to :term:`Mako` templates. + .. index:: single: localization deployment settings single: default_locale_name |
