Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 20:03:26 +0100
From:      Udo Erdelhoff <ue@nathan.ruhr.de>
To:        freebsd-doc@FreeBSD.ORG
Subject:   [Solution/Summary] Re: Putting translated release notes onto the web site
Message-ID:  <20021210190326.GD1467@nathan.ruhr.de>
In-Reply-To: <200211111822.gABIM79h003216@intruder.bmah.org>
References:  <20021110162524.GZ59222@nathan.ruhr.de> <200211111822.gABIM79h003216@intruder.bmah.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
On Mon, Nov 11, 2002 at 10:22:07AM -0800, Bruce A. Mah wrote:
> I vaguely remember thinking that the en release documentation was
> already implicitly "covered" by a LANGCODE prefix because it lived in
> the en_US part of the Web site.  Thus we didn't need to add another
> LANGCODE prefix to the pathname.  If that's true, then the de version of
> the release documentation would just live under http://www.freebsd.org/
> de/relnotes/CURRENT (for example).

unfortunately, this is not true, as shown on http://www.freebsd.org/relnotes
between 1am and 5am on December 9th.  Suddenly, the english version of the
release notes had been replaced by the DE version :)

If other translation teams are intrested in putting 'live' versions of
the release notes onto www.freebsd.org (without messing up the english
version), just copy www/en/relnotes/Makefile and make two small changes:

RELNOTES?=      CURRENT ${.CURDIR}/../../../relnotes/doc \
                4-STABLE ${.CURDIR}/../../../relnotes4/doc

And your long language code (de_DE.ISO8859-1) to both lines to make
the webupdate script build your version and the english one.

DOCDIR=${DESTDIR}/data/${.CURDIR:T}/

And insert your short language code (de) after data so that you do not
overwrite the english version.

And that's it.  Provided that your translation of the release notes can
be build, it will be installed.

/s/Udo
-- 
One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

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?20021210190326.GD1467>