Re: [Zope3-Users] zmi in zope 3.3.1

2007-08-28 Thread Thierry Florac
Le lundi 27 août 2007 à 15:22 -0700, Roman Budzianowski a écrit : Hi, I am following the book by Philipp von Weitershausen (2005) using an installation of zope 3.31 on Linux. I cannot locate in the zmi the interface browser shown on page 58. There are other tabs shown there like Tasks and

[Zope3-Users] Re: zmi in zope 3.3.1

2007-08-28 Thread Philipp von Weitershausen
Roman Budzianowski wrote: I am following the book by Philipp von Weitershausen (2005) using an installation of zope 3.31 on Linux. I cannot locate in the zmi the interface browser shown on page 58. There are other tabs shown there like Tasks and Services. I don't see them either. Is my

[Zope3-Users] Translations with variables embedded in HTML attributes

2007-08-28 Thread Asheesh Laroia
We have some translation keys with variables embedded in HTML attributes. I can't find a syntax that would let me use those keys as well as replace the variables. Here's an example problem translation message: a msgid: a href=/?lang=${lang}home/a I've been experimenting with Zope 3's

RE: [Zope3-Users] Translations with variables embedded in HTMLattributes

2007-08-28 Thread Doyon, Jean-Francois
Seems like you're trying to manipulate a string (a URL?) to do translation within it, in which case you shouldn't do this within your TAL, but instead have a separate piece of logic to do it (Python Script for example). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Zope3-Users] Translations with variables embedded in HTMLattributes

2007-08-28 Thread Asheesh Laroia
On Tue, 28 Aug 2007, Doyon, Jean-Francois wrote: Seems like you're trying to manipulate a string (a URL?) to do translation within it, in which case you shouldn't do this within your TAL, but instead have a separate piece of logic to do it (Python Script for example). Translations can have

RE: [Zope3-Users] Translations with variables embedded in HTMLattributes

2007-08-28 Thread Doyon, Jean-Francois
Because you're working with an attribute value, which isn't deemed content per say, it's not text/cdata in the templating world. Here's a proper i18n:name example from my own templates: h2 i18n:translate=List of tal:replace tal:replace=topic/title i18n:name=title / Maps/h2

Re: [Zope3-Users] How

2007-08-28 Thread Tobias Rodäbel
On 08/25/2007 at 19:22 Yuan HOng wrote: In my page template, I would like to show one message if the request is authenticated, and other if the user has not logged in. Is there a simple test I can use in the template file like? For me the following works well: span tal:condition=python: