[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Multilangual Problem
- From: Stefan `Sec` Zehl <nospam@thanx>
- Date: Fri, 6 Oct 2000 00:54:35 +0200
On Thu, Oct 05, 2000 at 12:17:53PM +0200, Kai Daumiller wrote:
> Denis Barbier wrote:
> >
> > >
> > > is it possible to create links for the current document for all but the
> > > current languages?
> >
> > Could you please be more specific?
>
> Ok,
>
> I am trying to maintain a site in several languages (ok, just two at the
> moment, but that may change).
> To make it possible to switch from one language to the other at any
> page, I want to place links on each page (or, better in the navbar) that
> point to the same content, but in the other languages.
> As the WML knows the name of the current document, the current language
> and the list of defined languages, it should be possible to create the
> links automatical, but how ?!?
I did something like that on some of my pages (http://sec.42.org/) (wml
files are in the same directory as is stddef.wml which is automatically
included). I have now done some terrible hackery to get wml to generate
the output files directly insted of requireing that stupid stuff in the
#!-line (see the <pg> tag) This works quite well and is less of a hassle
IMHO.
nfortunately i've had no time to document this properly and
genralize it, and I will probably not do it anymore as I've gotten a bit
unsatisfied with wml in the recent time, the slow processing speed, the
syntax/behaviour changes i have to follow, and the workarounds/hackery I
need to make it do what I want.
CU,
Sec
--
Programs that make a computer worth to use:
FreeBSD, zsh, mutt, wmx, procmail, vim, perl, less, LaTeX, fetch, slrn,
screen, ssh, pgp, ircII, sendfile
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com