[Zope3-dev] Re: Internationalisation

Marcus J. Ertl marcus.ertl at larp-welt.de
Thu Jan 8 07:09:23 EST 2004


Hallo Philipp!

Eben (am 8. 1. 2004 um 11:28 Uhr) hast du bemerkt:

>>         if number == 1:
>>                size = _("1 reply")
>>         else:
>>                size = _("${replies} replies")
>>                size.mapping = {'replies':`number`}
>>            return size

That's some way different from the example in the cookbook! But it
works! Thank you very much!

Bye
  Marcus

-- 
(D)inner not ready:  (A)bort (R)etry (P)izza

LARP-Welt - Das LARP-Portal im Internet: http://larp-welt.de



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20040108/f5dd7d28/attachment.bin


More information about the Zope3-dev mailing list