Ticket #12278: 12278.2.diff
File 12278.2.diff, 613 bytes (added by , 15 years ago) |
---|
-
docs/topics/i18n/internationalization.txt
283 283 ... 284 284 name = ugettext_lazy(u'John Lennon') 285 285 instrument = ugettext_lazy(u'guitar') 286 result = string_concat( [name, ': ', instrument])286 result = string_concat(name, ': ', instrument) 287 287 288 288 In this case, the lazy translations in ``result`` will only be converted to 289 289 strings when ``result`` itself is used in a string (usually at template