Ticket #2347: i18n.txt.diff
File i18n.txt.diff, 652 bytes (added by , 18 years ago) |
---|
-
docs/i18n.txt
224 224 This will have {{ myvar }} inside. 225 225 {% endblocktrans %} 226 226 227 To translate multiple template expressions, separate them with the word ``and``:: 228 229 {% blocktrans with book_name|title as book and author_name|title as author %} 230 This is {{ book }} by {{ author }}. 231 {% endblocktrans %} 232 227 233 To pluralize, specify both the singular and plural forms with the 228 234 ``{% plural %}`` tag, which appears within ``{% blocktrans %}`` and 229 235 ``{% endblocktrans %}``. Example::