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

Re: International support



On Wed, Apr 25, 2001 at 09:55:39PM +0200, Martin Schulze wrote:
> > Hey there. I am interested in hearing more about how you are supporting
> > multiple languages on your website. We'll soon need to do something like
> > that ourselves and I'm looking for ideas :)
> 
> Please check out <http://www.debian.org/devel/website/>.  You should
> find everything you need.

To make the long story short... all files are named foo.XY.html where XY is
the language code (en for English, de for German, and so on). None of the
links (<A>) point to exact filenames, but to the base part ("foo"), and
Apache server's content negotiation makes it work.

The default language is selected using config options and symbolic links,
foo.html -> foo.en.html. Creating these links may seem like an awful lot of
work, but we have a whole build system for the web pages, so it's a
one-liner.

The Apache config options for this are at
http://www.debian.org/mirror/webmirror BTW.

There are also some glitches with Apache's content negotiation
implementation, see "Content negotiation issues" section in
http://www.debian.org/devel/website/todo

For details on this, consult our web pages (the ones Martin pointed to :)
and Apache docs http://httpd.apache.org/ or something.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: