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

Re: <lang:current> question?



Thank you Denis,


>      <lang:star: *>
This works. But now I'm trying to use this in 
an other way:

<define-tag gmttime>
<preserve lang>
<set-var %attributes>
<:{
        my $language = qq/<get-var lang>/;
.
.
        <protect pass=2>
        printf STDOUT '%s %s %02d %02d:%02d:%02d UTC %04d %s',
                      $weekdays{"$language"}{'short'}[$wday], 
                      $month{"$language"}{'short'}[$mon], 
                      $mday, $hour, $min, $sec, $year, $language;
        </protect>
}:>
<restore lang>
</define-tag>

If i use this tag <gmttime lang=<lang:star: *>> it does not
work as expected.
If I only use <lang:star: *> then I get the appropiate information, but
it does not in relationship with the ePerl script.
It seemed to me that it is expanded in different levels of conversion.
Can someone help me?

Thanks in advance.
-- 
Dipl.-Ing. Karl Heinz Marbaise | Phone: +49 (241) 4 13 26 - 48
QIS Systemhaus GmbH Aachen     | Fax  : +49 (241) 4 13 26 - 40
Juelicher Strasse 338          | Internet: http://www.qis-systemhaus.de
52070 Aachen                   | e-mail  : kmarbaise@qis-systemhaus.de
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com