Bug#82852: www.debian.org: Some automatic indexes not being properly generated in Spanish translations

2001-01-22 Thread Matt Kraai
On Mon, Jan 22, 2001 at 12:22:13AM +0100, Jesus M. Gonzalez-Barahona wrote:
> Should I commit the patch, or are you going to commit it?

I think I figured out the other problem as well.  The
get_weeklynews_list function expects the header line to be the
first in the file, which isn't the case for the first two issues
of 2001 (the first line is a 

Bug#82852: www.debian.org: Some automatic indexes not being properly generated in Spanish translations

2001-01-22 Thread Marcin Owsiany
On Sun, Jan 21, 2001 at 10:40:08PM -0800, Matt Kraai wrote:
> On Mon, Jan 22, 2001 at 12:22:13AM +0100, Jesus M. Gonzalez-Barahona wrote:
> > Should I commit the patch, or are you going to commit it?
> 
> I think I figured out the other problem as well.  The
> get_weeklynews_list function expects the header line to be the
> first in the file, which isn't the case for the first two issues
> of 2001 (the first line is a 

Bug#83131: www.debian.org: German Alpha installation docs point to x86 version.

2001-01-22 Thread Daniel Kobras
Package: www.debian.org
Version: 20010122
Severity: normal

Hi!

I just tried to read potato's installation docs for Alpha via

http://www.debian.org/releases/2.2/alpha/install

Language preferences of my browser were set to 'de'. A German page appeared
alright, but it was the install doc for x86 platforms. Changing the 
preferences to 'en' returned the correct Alpha page.

Regards,

Daniel.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux antares 2.4.0 #1 SMP Sat Jan 6 22:30:17 CET 2001 i686 
unknown




Re: /international

2001-01-22 Thread James A. Treacy
Peter Karlsson wrote:
> I'm thinking of splitting of /international/Swedish into several pages,
> and would thus like to create a subdir of /international:
>
> 1. Should the subdir be written with upper- or lowercase S?

I'd prefer a capital because we should have a standard way of
accessing these pages and most of the languages currently use
an initial capital. The only exception is spanish.

There is now a symlink, intl -> international, because of complaints
of the length of the urls. Personally, I think this is silly, but I'm
only one person. Additionally, there has been some interest that we
allow language abbreviations useing the two letter ISO codes. This
isn't a bad idea because it is less language specific (it is an
international standard after all). Currently, the only one is for
Chinese (zh). Thus, the following urls are equavilent:
  www.debian.org/international/Chinese
  www.debian.org/intl/zh
Please give your opinion on this.

> 2. Can I modify the Makefiles somehow to link the Swedish version in
>that subdir to be the default (I may not translate all the pages
>back into English)?
I'm not sure what you mean here.

-- 
James (Jay) Treacy
[EMAIL PROTECTED]



away yet again

2001-01-22 Thread James A. Treacy
I will be out of town again - probably until Friday. I'm beginning
to wonder if life will every get back to normal.

If anything blah blah broken blah blah fix it blah blah blah

-- 
James (Jay) Treacy
[EMAIL PROTECTED]



Re: /international

2001-01-22 Thread peter karlsson
James A. Treacy:

> > 2. Can I modify the Makefiles somehow to link the Swedish version in
> >that subdir to be the default (I may not translate all the pages
> >back into English)?
> I'm not sure what you mean here.

Currently, when the makefiles install the pages, it links xxx.html ->
xxx.en.html. How do I set it up to link xxx.html -> xxx.sv.html for
that directory?

-- 
\\//
peter - http://www.softwolves.pp.se/

  Statement concerning unsolicited e-mail according to Swedish law:
  http://www.softwolves.pp.se/peter/reklampost.html



Re: /international

2001-01-22 Thread James A. Treacy
On Tue, Jan 23, 2001 at 05:46:05AM +0100, peter karlsson wrote:
> 
> Currently, when the makefiles install the pages, it links xxx.html ->
> xxx.en.html. How do I set it up to link xxx.html -> xxx.sv.html for
> that directory?
> 
You need to override the following section of webwml/Makefile.common:
ifndef NOGENERICINSTDEP
$(HTMLDIR)/%.$(LANGUAGE).html: %.$(LANGUAGE).html
   @echo copying $(@F) to $(HTMLDIR)
   [EMAIL PROTECTED] $(@F) $(HTMLDIR)
ifeq ($(LANGUAGE),en)
   @echo making a link $(@D)/$(*F).html -\> $(@F)
   @ln -sf $(@F) $(@D)/$(*F).html
endif
endif

The first thing to notice is that
webwml/$lang/international/Makefile includes webwml/$lang/Make.lang
and
webwml/$lang/Make.lang includes webwml/Makefile.common

I suggest fixing webwml/Makefile.common so that the language that
gets the symlink is configurable. I'm thinking of something like
ifeq ($(LANGUAGE),$(LINKLANG))
instead of
ifeq ($(LANGUAGE),en)
where LINKLANG is set by default to en, but can be overridden.
You'll have to see if you can get this to work. I'm going to bed.

I'm hoping to be back this weekend.

-- 
James (Jay) Treacy
[EMAIL PROTECTED]