[Petal] i18n:name - How do I use it
Joachim Zobel
jzobel at heute-morgen.de
Sun Feb 18 07:00:54 GMT 2007
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
More information about the Petal
mailing list