Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Add (minimal) documentation about using I18N within Mako templates to

  "Internationalization and Localization" narrative chapter.
  • Loading branch information...
commit ddf07e7f1486b195bc337a3035f6852980a4d3d7 1 parent 6f1e7a1
Chris McDonough mcdonc authored
Showing with 18 additions and 5 deletions.
  1. +3 −0  CHANGES.txt
  2. +8 −5 TODO.txt
  3. +7 −0 docs/narr/i18n.rst
3  CHANGES.txt
View
@@ -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
-------------
13 TODO.txt
View
@@ -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).
7 docs/narr/i18n.rst
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.