[pmwiki-devel] XL for messages

Patrick R. Michaud pmichaud at pobox.com
Fri May 4 13:30:58 CDT 2007

On Fri, May 04, 2007 at 07:21:04PM +0100, Hans wrote:
> Friday, May 4, 2007, 6:47:18 PM, Hans wrote:
> > What is the most efficient way to provide language translation
> > of message strings within functions?
> Actually I think I got already what it needs:
> $MessagesFmt[] = "<h5 class='wikimessage'>$[$msg]</h5>";

Also, FWIW, I'm recognizing that <h5>...</h5> (and <h3>...</h3>
which some of the core uses) is probably not the best HTML 
for us to be putting into $MessagesFmt.  So, I'm in
the process of slowly cleaning things up to be
<div class='wikimessage'>...</div> instead.


More information about the pmwiki-devel mailing list