Added automatic detection of translation to the german pages.

svn path=/trunk/; revision=1942
This commit is contained in:
jneves 2002-02-07 15:55:33 +00:00
parent 85338a36a3
commit e57552ea0a
46 changed files with 8 additions and 395 deletions

View File

@ -76,11 +76,12 @@ $(FRPAGES): %.html: %.xhtml fsfe.xsl navigation.fr.xsl
$(DEPAGES): %.html: %.xhtml fsfe.xsl navigation.de.xsl
@$(ECHO) "Building $@ ..."; \
path=$< ; \
base=`expr $$path : '\(.*\).xhtml'` ; \
base=`expr $$path : '\(.*\).de.xhtml'` ; \
filebase=`basename $$base` ; \
dir=`dirname $$path` ; \
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase '$$path='$$path > $$base.html-temp && (cat $$base.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/von/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.html) ; \
langlinks="`./tools/translate.sh $$base de`" ; \
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase.de '$$path='$$path '$$langlinks='"$$langlinks" > $$base.de.html-temp && (cat $$base.de.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/von/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.de.html) ; \
rm -f $$base.html-temp
$(PTPAGES): %.html: %.xhtml fsfe.xsl navigation.pt.xsl tools/translate.sh

View File

@ -10,16 +10,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="background.html">English</a> |
<a href="background.fr.html">Français</a> |
<a href="background.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>Hintergrund</h2>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="boilerplate.en.html">English</a> |
<a href="boilerplate.fr.html">Français</a>
]
</center>
<!-- Begin page content -->
<p>This rocks</p>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="contact.html">English</a> |
<a href="contact.fr.html">Français</a> |
<a href="contact.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>Allgemeine Diskussionen</h2>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="article-13.12.2001.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="article-24.9.2001.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center><h1>Pro-Linux.de Interview mit Georg C. F. Greve</h1></center>

View File

@ -10,14 +10,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="index.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="buergerturm.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="konzept.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch <!-- |
<a href="spielregeln.en.html">English</a> -->
]
</center>
<!-- Begin page content -->
<center>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.en.html">English</a>
]
</center>
<!-- Begin page content -->
<center>
<h1>FSF Europe - Chapter Deutschland</h1>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="speakers.en.html">English</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Sprecher</h2>

View File

@ -10,16 +10,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="documents.html">English</a> |
<a href="documents.fr.html">Français</a> |
<a href="documents.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Dokumente</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="doi.html">English</a> |
<a href="doi.fr.html">Français</a> |
<a href="doi.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Absichtserklärung - Free Software Foundation Europe</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="freesoftware.html">English</a> |
<a href="freesoftware.fr.html">Français</a> |
<a href="freesoftware.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Was ist Freie Software?</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="gnuproject.html">English</a> |
<a href="gnuproject.fr.html">Français</a> |
<a href="gnuproject.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Was ist das GNU-Projekt?</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="preamble.html">English</a> |
<a href="preamble.fr.html">Français</a> |
<a href="preamble.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Präambel der Free Software Foundation Europe</h2>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="whatwedo.html">English</a> |
<a href="whatwedo.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Was machen wir?</h2>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="whyfs-howto.de.html">English</a>
]
</center>
<!-- Begin page content -->
<center><h2>Wir sprechen von Freier Software</h2>

View File

@ -10,18 +10,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="whyfs.en.html">English</a> |
<a href="whyfs.es.html">Español</a> |
<a href="whyfs.fr.html">Français</a> |
<a href="whyfs.it.html">Italiano</a> |
<a href="whyfs.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<center><h2>Wir sprechen von Freier Software</h2></center>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="whyweexist.html">English</a> |
<a href="whyweexist.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Warum gibt es uns?</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="argumentation.html">English</a> |
<a href="argumentation.fr.html">Français</a> <!--|
<a href="index.pt.html">Português</a> -->
]
</center>
<!-- Begin page content -->
<div align="center">

View File

@ -10,16 +10,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="education.html">English</a> |
<a href="education.fr.html">Français</a><!--|
<a href="index.pt.html">Português</a> -->
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Bildung</h2>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.en.html">English</a>
]
</center>
<!-- Begin page content -->
<h2>FSF Europe auf der Systems 2001</h2>

View File

@ -9,14 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.en.html">English</a>
]
</center>
<!-- Begin page content -->
<h1>Die FSF Europe auf der Systems 2001</h1>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
Deutsch |
<a href="events.en.html">English</a> |
<a href="events.fr.html">Français</a>
]
</center>
<center>
<h2>Zukünftige und geplante Events</h2>
</center>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
Deutsch |
<a href="passed-2001.en.html">English</a> |
<a href="passed-2001.fr.html">Français</a>
]
</center>
<center>
<h2>Vergangene Events</h2>
</center>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
Deutsch |
<a href="index.de.html">English</a> |
<a href="index.fr.html">Français</a> |
<a href="index.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>GNU Business Network (GNU Geschäftsnetzwerk)</h2>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="donate.html">English</a> |
<a href="donate.it.html">Italiano</a>
]
</center>
<!-- Begin page content -->
<h2>Spenden an die FSF Europe</h2>

View File

@ -9,13 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="donate-2002.html">English</a> ]
</center>
<!-- Begin page content -->
<h2>Spenden an die FSF Europe</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="help.html">English</a> |
<a href="help.it.html">Italiano</a> |
<a href="help.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>Wie können Sie uns helfen?</h2>

View File

@ -9,15 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="thankgnus-2001.html">English</a> |
<a href="thankgnus-2001.it.html">Italiano</a>
]
</center>
<!-- Begin page content -->
<center>
[

View File

@ -13,15 +13,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="thankgnus-2002.html">English</a> |
<a href="thankgnus-2002.it.html">Italiano</a>
]
</center>
<!-- Begin page content -->
<center>
[

View File

@ -9,18 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.html">English</a> |
<a href="index.es.html">Español</a> |
<a href="index.fr.html">Français</a> |
<a href="index.it.html">Italiano</a> |
<a href="index.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<center>
<h1>Free Software Foundation Europe</h1>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="law.en.html">English</a> |
<a href="law.fr.html">Français</a> |
<a href="law.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Freie Software in Europa sichern</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.html">English</a> |
<a href="index.fr.html">Français</a> |
<a href="index.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>Über die Mailinglisten</h2>
<p>

View File

@ -48,7 +48,10 @@
<tr>
<td width="99%" valign="top">
<div class="content">
<xsl:apply-templates select="@*|node()"/>
<center>
<xsl:value-of select="$langlinks" disable-output-escaping="yes"/>
</center>
<xsl:apply-templates select="@*|node()"/>
</div>
</td>
<!-- Menu column. On the right to be Lynx friendly. -->

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">
<!ENTITY eur "&#128;">]>
<xsl:stylesheet version="1.0"

View File

@ -8,17 +8,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="article2001-08-23-01.en.html">English</a> |
<a href="article2001-08-23-01.es.html">Español</a> |
<a href="article2001-08-23-01.fr.html">Français</a> |
<a href="article2001-08-23-01.it.html">Italian</a> |
<a href="article2001-08-23-01.pt.html">Português</a>
]
</center>
<p />
<blockquote>
<center><h2>Experten für Freie Software</h2></center>

View File

@ -8,13 +8,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="article2001-10-01-01.en.html">English</a>
]
</center>
<p />
<blockquote>

View File

@ -8,16 +8,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="article2001-10-20-01.en.html">English</a> |
<a href="article2001-10-20-01.es.html">Español</a> |
<a href="article2001-10-20-01.fr.html">Français</a> |
<a href="article2001-10-20-01.pt.html">Português</a>
]
</center>
<p />
<blockquote>
<center><h2>SourceForge auf Abwegen</h2></center>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="news.html">English</a> |
<a href="news.fr.html">Français</a> |
<a href="news.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<div align="center">

View File

@ -9,13 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch
]
</center>
<!-- Begin page content -->
<h2>&quot;A Gnu Head&quot; Pin</h2>

View File

@ -9,13 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch
]
</center>
<!-- Begin page content -->
<p>Vielen Dank für Ihre Bestellung.</p>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="index.html">English</a> |
<a href="index.fr.html">Français</a> |
<a href="index.pt.html">Português</a>
]
</center>
<!-- Begin page content -->
<h2>Presse</h2>

View File

@ -9,16 +9,6 @@
<body>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please update as needed and keep it in alphabetical order -->
Deutsch |
<a href="speakers.html">English</a> |
<a href="speakers.fr.html">Français</a> <!--|
<a href="speakers.pt.html">Português</a> -->
]
</center>
<!-- Begin page content -->
<div align="center">
<h2>Sprecher</h2>