toc doesn't honour lang

Guy Brand <[email protected]> Mon, 23 Feb 2004 12:31:55 +0100
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
  Hi all,


  I'm trying to have "toc" and "lang" work together, but without
  success :
  
	#!wml -o(ALL-LANG_*)+LANG_EN:%BASE.html.en -o(ALL-LANG_*)+LANG_FR:%BASE.html.fr

	#use wml::std::page
	#use wml::std::lang
	#use wml::std::toc style=ol

	<lang:new id=en short>
	<lang:new id=fr short>

	<page>
	<toc>

	<fr: <h2>Elément 1</h2>>
	<en: <h2>Item 1</h2>>

	<fr: <h2>Elément 2</h2>>
	<en: <h2>Item 2</h2>>

  Output file .en or .fr contains 4 lines in the toc list (ol) and it
  seems wml::std::toc doesn't honour lang tag.

  ~$ wml -V
  This is WML Version 2.0.8 (30-Oct-2001)

  gb

_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]