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

Navbar in two languages



Hi,

I try to make a webpage in german and english. There is a navbar at the
left and I try to use different images in the german and english version.

But neither

# 1st try
<de>  
  <navbar:button id=kultur url="$(ROOT)/kultur/" txt="Kultur" 
                 img=navbar-kultur-*.gif>
</de>
<en>
  <navbar:button id=kultur url="$(ROOT)/kultur/index.en.html" txt="Culture"    
                 img=navbar-kultur-en-*.gif>
</en>

nor

# 2nd try
<navbar:button id=suche url="$(ROOT)/search/<en: index.en.html>"
txt="<de: Suche><en: Search>" img=navbar-suche-<en: en->*.gif>

works as I want. In my first attempt wml prints both the "Kultur" and
"Culture" button (in both languages), in my second attempt wml refuses to
load the images (It  seems that txt="<de: Suche><en: Search>" does work
correctly, but not the  img=navbar-suche-<en: en->*.gif> - part).

My question now is: How is the correct way to generate multi-language
navigation bars? Is ist possible?

Bye, Wolfgang

P.S. (You can find a (non working) example at:
http://oeh.tu-graz.ac.at/~dauti/wml-question/

(and the wml-Files at:
http://oeh.tu-graz.ac.at/~dauti/wml-question/index.wml
http://oeh.tu-graz.ac.at/~dauti/wml-question/tmpl/template.wml
http://oeh.tu-graz.ac.at/~dauti/wml-question/gfont.wml
(the third does only generate the navbar-Buttons).

I use wml 1.7.2 on Redhat Linux.

--
Diese Mail kommt von: Wolfgang Dautermann
WWW-Homepage: http://oeh.tu-graz.ac.at/~dauti/

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