[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Multi Language Support Question
- From: Karl-Heinz Marbaise <nospam@thanx>
- Date: Fri, 20 Jul 2001 09:35:53 +0200
Hi there,
i have a little problem with WML 2.0.7:
I'm using the language feature to different
output files.
I have the following contens (test.wml):
#use wml::std::page
#use wml::des::navbar
#use wml::std::lang
#use wml::std::href
#use wml::std::logo
<lang:new id=en short>
<lang:new id=de short>
<lang:star:slice: <get-var WML_SRC_BASENAME>-*.html>
<h1><de>Das ist die Foo Seite</de><en>The Foo Page</en></h1>
If I use wml test.wml there will two files created
(test-de.html and test-en.html) as I expected. But
now I have the problem if a file has no <de> or
<en> area which should create only a single file.
#use wml::std::page
#use wml::des::navbar
#use wml::std::lang
#use wml::std::href
#use wml::std::logo
<lang:new id=en short>
<lang:new id=de short>
<lang:star:slice: <get-var WML_SRC_BASENAME>-*.html>
<h1>Dass ist die Foo Seite</h1>
like the above, but it produces an error message which
says there is slice defined.
Can I define a default behaviour if no slice is defined
in a file, because some parts of my project become
very complicated.
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