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

Re: doc/manual.defs



On Sun, Oct 29, 2000 at 01:25:21AM +0200, Josip Rodin wrote:
> On Sun, Oct 29, 2000 at 01:09:18AM +0200, Denis Barbier wrote:
> > > > Why do the slices in <bfcvsroot> "leak" to all translations? I see both
> > > > "userid" (English) and "användar-id" (Swedish) in the .sv.html version
> > > > of the pages in doc/
> > > 
> > > Hrm, it's like that in English, too... :( Denis, is this a bug in slice?
> > 
> > I do not see what you are talking about, please give me an URL or
> > commands to retrieve a specific cvs module.
> 
> It's on http://www.debian.org/doc/admin-manuals for example.
> The code is at :pserver:anonymous@cvs.debian.org:/cvs/webwml
> webwml/english/doc/

This is not a bug. Input looks like
  [EN: some text [EN:userid:][SV:användar-id:]:]
So when requesting UNDEFuEN, slice writes
  some text useridanvändar-id
which is right. In fact, you want to show UNDEFuEN\SV.
I think that the slice documentation is quite clear about nested slices.

The WML module wml::std::lang knows how to deal with nested languages,
but since you do not use it, the simplest solution is to forbid nested
language slices (and so do not define <bfcvsroot>, but put its text into
<inbfdcvs>).

Denis



Reply to: