18 Feb 08:00
Re: i18n:name - How do I use it
From: Joachim Zobel <jzobel@...>
Subject: Re: i18n:name - How do I use it
Newsgroups: gmane.comp.lang.perl.modules.petal
Date: 2007-02-18 07:00:54 GMT
Subject: Re: i18n:name - How do I use it
Newsgroups: gmane.comp.lang.perl.modules.petal
Date: 2007-02-18 07:00:54 GMT
Am Samstag, den 17.02.2007, 18:27 +0000 schrieb Mark Holland: > You need to to use i18n:name in conjunction with a petal:content > statement. This will interpolate the contents of the tag with the > string > store in your pot file. So in your template you have: Ah, thx, seems I misunderstood the tal spec. To summarize: i18n:translate translates, i18n:name only does the $ stuff. http://plone.org/documentation/how-to/i18n-for-developers So <p i18n:translate="">First we want to test <span style="font-style: italic;" i18n:name="names" i18n:translate="names">names</span>.</p> does what I want. Sincerely, Joachim
RSS Feed