Mercurial > p > roundup > code
comparison doc/developers.txt @ 6456:cbc18a8bc61f 2.1.0
Changes for release of version 2.1.0.
Updates specified in RELEASE.txt.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 12 Jul 2021 23:21:12 -0400 |
| parents | bea4a6956c89 |
| children | 408fd477761f |
comparison
equal
deleted
inserted
replaced
| 6455:43298edf7ab1 | 6456:cbc18a8bc61f |
|---|---|
| 227 object. Action classes have methods ``_()`` and ``gettext()``, | 227 object. Action classes have methods ``_()`` and ``gettext()``, |
| 228 delegating translation to the Client instance. In HTML templates, | 228 delegating translation to the Client instance. In HTML templates, |
| 229 translator object is available as context variable ``i18n``. | 229 translator object is available as context variable ``i18n``. |
| 230 | 230 |
| 231 HTML templates have special markup for translatable strings. | 231 HTML templates have special markup for translatable strings. |
| 232 The syntax for this markup is defined on `ZPTInternationalizationSupport`_ | 232 The syntax for this markup is discussed at `ZPTInternationalization`_. |
| 233 page. Roundup translation service currently ignores values for | 233 (Originally documented at |
| 234 http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZPTInternationalizationSupport | |
| 235 which is now gone.) | |
| 236 Roundup translation service currently ignores values for | |
| 234 ``i18n:domain``, ``i18n:source`` and ``i18n:target``. | 237 ``i18n:domain``, ``i18n:source`` and ``i18n:target``. |
| 235 | 238 |
| 236 Template markup examples: | 239 Template markup examples: |
| 237 | 240 |
| 238 * simplest case:: | 241 * simplest case:: |
| 417 https://pagetemplates.readthedocs.io/en/latest/history/TALSpecification14.html | 420 https://pagetemplates.readthedocs.io/en/latest/history/TALSpecification14.html |
| 418 .. _TALES: | 421 .. _TALES: |
| 419 .. _Template Attribute Language Expression Syntax: | 422 .. _Template Attribute Language Expression Syntax: |
| 420 https://pagetemplates.readthedocs.io/en/latest/history/TALESSpecification13.html | 423 https://pagetemplates.readthedocs.io/en/latest/history/TALESSpecification13.html |
| 421 .. _vim: https://www.vim.org/ | 424 .. _vim: https://www.vim.org/ |
| 422 .. _ZPTInternationalizationSupport: http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZPTInternationalizationSupport | 425 .. _ZPTInternationalization: http://grok.zope.org/documentation/how-to/how-to-internationalize-your-application/view |
| 423 |
