[Helma-dev] Re: internationalization
Andreas Bolka
andreas.bolka at gmx.net
Thu Feb 17 19:12:59 CET 2005
Wednesday, February 16, 2005, 4:36:16 PM, Hannes wrote:
> <h:macro h:name="site.loop">
> <h3 h:fragment="prefix" h:translate="storylistHeader">Story Listing</h3>
> <ul>
> <li h:fragment="listitem" h:macro="story.title">Story Title</li>
> </ul>
> <p h:fragment="default" h:translate="storylistEmpty">No stories</p>
> </h:macro>
hey, i'm late to the game, but still: i like this _a lot_. one
(reassuring) question: in order to get a <p> in the prefix after the
<h3> one would write:
<h:macro h:name="site.loop">
<h:fragment h:name="prefix">
<h3 h:translate="storylistHeader">Story Listing</h3>
<p h:translate="storylistSubheader">the magnificient stories</p>
</h:fragment>
<ul>
<li h:fragment="listitem" h:macro="story.title">Story Title</li>
</ul>
<p h:fragment="default" h:translate="storylistEmpty">No stories</p>
</h:macro>
right?
--
Best regards,
Andreas mailto:andreas.bolka at gmx.net
More information about the Helma-dev
mailing list