[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: ePerl and language-dependent output



On Tue, Jul 18, 2000 at 01:29:08PM +0200, Stephan Petersen wrote:

> > > Is there a way to make the per-language calls inside 
> > > <define-tag get_current_lang> more elegant and "automatic" (so that when
> > > new languages are addes, they're automatically processed too)?
> > 
> > Just use perl_get_current_lang instead of get_current_lang ;-)
> > Quite surprisingly it does what you want.
> 
> But not when the call to <perl_get_current_lang> is *outside* of any
> language-dependent section, right? I mean,
> 
> <body>
> <perl_get_current_lang>
> </body>
> 
> won't work, at least according to my experiments, and what (little) I
> understand of wml passes :-)

But 
  <body>
  <get_current_lang>
  </body>
will produce the same output.

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com