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

Re: slices: <img> and <set-var> problem (again)

Sun, 12 Dec 1999 20:52:59 +0100 (CET), Denis wrote:
> On Sun, 12 Dec 1999, Jan Holler wrote:
>> i think we should really think about that, since the sites
>> get more and more graphically designed and having at least
>> an english version next to your main language gets more and
>> more common too.
>> comments please.
> http://www.debian.org/ is an excellent example of multilingual web site.

yes. they basically do what i like to do. it just depends
on how much work they stuck into it. i don't find the
wml-source, but i see that they worked around the same
problems as i had (have). (http://www.internutrition.ch/)

but let's go ahead with the problems: this simple example
does not work and shows well where i have a hard time to
understand the consistency of wml here.

#!wml -o (ALL-LANG_*)uLANG_DE:%BASE.html \
    -o (ALL-LANG_*)uLANG_FR:%BASE_f.html

#use wml::std::lang
<lang:new id=de short>
<lang:new id=fr short>


<set-var bar = "<de: german><fr: french>" >
<de> 2. German bar is: <get-var bar> </de>
<fr> 3. French bar is: <get-var bar> </fr>


output is for test.html:
 2. German bar is: germanfrench 

and for test_f.html:
 3. French bar is: germanfrench 

yes. this is really the output. that should not happen!

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