Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 22:23:26 +0000
From:      Nik Clayton <nik@FreeBSD.org>
To:        Jim Mock <mij@soupnazi.org>
Cc:        Kerry Davis <kerryedavis@earthlink.net>, freebsd-doc@FreeBSD.org
Subject:   Re: French?
Message-ID:  <20030220222326.GN6403@clan.nothing-going-on.org>
In-Reply-To: <1B2B9CB1-446E-11D7-BF65-000393460DB2@soupnazi.org>
References:  <022801c2d856$1d525fc0$0200000a@desktop> <1B2B9CB1-446E-11D7-BF65-000393460DB2@soupnazi.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Zl+NncWK+U5aSfTo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 19, 2003 at 04:56:12PM -0800, Jim Mock wrote:
> Look at the URL.  You're requesting the English document.
>=20
> http://www.freebsd-fr.org/doc/fr_FR.ISO8859-1/books/handbook/index.html =
=20
> is in French.

Here's a thought.

When installing the docs, create an additional language code, called
'local'.  So

    /path/to/doc/local/books/handbook/index.html

works.  Make 'local' a symlink to whatever the local language code is
(defaulting to English if not set).

Then, on the web site, use /doc/local/.../ to refer to anything that's
not explicitly supposed to be mentioned in the local language.

Hmm.  That'll break when linking to documents that haven't been
translated in to the local language yet, because the files won't exist.
That could be solved with a more sophisticated link farm generator that
knew to create symlinks to fall back content as necessary.

/me ponders a bit.

Another idea I'll float (which also solves the 'why are some pages
index.html, others book.html, and still others article.html?' question)
would be to rename the top-level file for html-split documents to
something like top.html (eww, nasty name, but it'll do).

'index.html' is then a generic document that says something like:

    This document is available in a number of formats and languages.
    Please pick one.

    [ Repeat the above in 'n' languages ]

    English (en_US.ISO8859-1) [HTML] [Split] [PS] [PDF] [TXT] [RTF]
    French (fr_FR.ISO8859-1)  [HTML] [Split] [PS] [PDF] [TXT] [RTF]
    ...

But that's kind of ugly too, but it does make it explicit.

Or maybe it's time to bite the bullet and say something like 'Mirrors
must run Apache, here's the config file fragment you need for the part
of your website that's the mirror' and go from there?

Random musings.

N
--=20
FreeBSD: The Power to Serve      http://www.freebsd.org/               (__)
FreeBSD Documentation Project    http://www.freebsd.org/docproj/    \\\'',)
                                                                      \/  \=
 ^
   --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---         .\._/=
_)

--Zl+NncWK+U5aSfTo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+VVVek6gHZCw343URAk+VAJ4tkLZgVqunEezekzBoPmh8m2Pk/ACfevg8
YffhGG1QRFwvaNCEYsLmS00=
=DtYx
-----END PGP SIGNATURE-----

--Zl+NncWK+U5aSfTo--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030220222326.GN6403>