You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by bd...@apache.org on 2006/05/22 17:23:00 UTC

svn commit: r408691 - in /forrest/trunk/main/fresh-site/src/documentation: content/xdocs/ translations/

Author: bdelacretaz
Date: Mon May 22 08:23:00 2006
New Revision: 408691

URL: http://svn.apache.org/viewvc?rev=408691&view=rev
Log:
FOR-887, add more translations, including fr and de versions of the index.xml page as an example

Added:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml   (with props)
    forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml   (with props)
Modified:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.xml
    forrest/trunk/main/fresh-site/src/documentation/translations/languages_en.xml

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Wilkommen zu "MyProj"</title> 
+  </header> 
+  <body> 
+    <!-- FIXME: my German probably needs some polishing -->
+    <section id="overview">
+      <title>Bravo!</title>
+      <p>Sie haben ein Website, basiert auf <a
+          href="ext:forrest">Apache Forrest</a>, generiert.
+          Diese Seite kommt vom Forrest Site-Skeleton, Datei
+        <code>src/documentation/content/xdocs/index.de.xml</code>.
+        Selbstverständlich können Sie es mit ihr eigenes Inhalt
+        modifizieren!
+        </p>
+    </section>
+    
+    <section id="see-english">
+      <title>Übersetzungen</title>
+      <p>
+        Im Site-Skeleton ist nur diese Seite übersetzt, um die i18n-Features
+        zu testen.
+      </p>
+      <p>
+        Für mehr Infos, bitte wenden Sie sich an die
+        <a href="site:index">Englische Version</a>.
+      </p>
+    </section>
+
+  </body>
+</document>

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Bienvenue sur "MyProj"</title> 
+  </header> 
+  <body> 
+    <section id="overview">
+      <title>Félicitations</title>
+      <p>Vous avez généré un site basé sur <a
+          href="ext:forrest">Apache Forrest</a>.
+        Cette page provient du squelette de site fourni avec Forrest,
+        son contenu se trouve dans le fichier 
+        <code>src/documentation/content/xdocs/index.fr.xml</code>
+        Vous pouvez bien entendu la modifier pour y mettre votre propre contenu!
+        </p>
+    </section>
+    
+    <section id="see-english">
+      <title>Traductions</title>
+      <p>
+        Ce squelette de site n'est pas traduit, seule cette page est fournie
+        en français pour tester le mécanisme i18n.
+      </p>
+      <p>
+        Pour plus d'infos, voir la <a href="site:index">version anglaise</a>.
+      </p>
+    </section>
+
+  </body>
+</document>

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.fr.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.xml?rev=408691&r1=408690&r2=408691&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/index.xml Mon May 22 08:23:00 2006
@@ -45,5 +45,18 @@
       <a href="site:plugins">plugins</a>,
       these will often come with more samples for you to out.</p>
     </section>
+    
+    <section id="i18n">
+      <title>Internationalization</title>
+      <p>
+        As a simple example of Forrest's i18n functionality, you can view
+        <a href="index.html?locale=fr">French</a> and <a href="index.html?locale=de">German</a>
+        versions of this page, using the <code>locale</code> request parameter 
+        to switch languages. There are other ways to switch, this is just one way of 
+        demonstrating these features.
+      </p>
+    </section>
+
+    
   </body>
 </document>

Added: forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="de">
+  <message key="en">Englisch</message>
+  <message key="es">Spanisch</message>
+  <message key="nl">Dutch</message>
+  <message key="de">Deutsch</message>
+  <message key="fr">Französisch</message>
+</catalogue>

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/languages_de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: forrest/trunk/main/fresh-site/src/documentation/translations/languages_en.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/languages_en.xml?rev=408691&r1=408690&r2=408691&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/languages_en.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/languages_en.xml Mon May 22 08:23:00 2006
@@ -19,4 +19,6 @@
   <message key="en">English</message>
   <message key="es">Spanish</message>
   <message key="nl">Dutch</message>
+  <message key="de">German</message>
+  <message key="fr">French</message>
 </catalogue>

Added: forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="fr">
+  <message key="en">Anglais</message>
+  <message key="es">Espagnol</message>
+  <message key="nl">Néerlandais</message>
+  <message key="de">Allemand</message>
+  <message key="fr">Français</message>
+</catalogue>

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/languages_fr.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="de">
+  <message key="About">A propos</message>
+  <message key="Index">Index</message>
+  <message key="Changes">Modifications</message>
+  <message key="Todo">A faire</message>
+  <message key="Samples">Exemples </message>
+  <message key="Apache document">Document Apache</message>
+  <message key="Static content">Contenu statique</message>
+  <message key="Linking">Gestion des liens</message>
+  <message key="Wiki page">Page wiki</message>
+  <message key="ihtml page">Page ihtml</message>
+  <message key="ehtml page">Page ehtml</message>
+  <message key="FAQ">FAQ</message>
+  <message key="Simplifed Docbook">Docbook simplifié</message>
+  <message key="XSP page">Page XSP</message>
+</catalogue>

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/menu_fr.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="de">
+  <message key="Home">Home</message>
+  <message key="Samples">Beispiele</message>
+  <message key="Apache XML Projects">Apache XML Projekte</message>
+</catalogue>

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml?rev=408691&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml (added)
+++ forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml Mon May 22 08:23:00 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="fr">
+  <message key="Home">Accueil</message>
+  <message key="Samples">Exemples</message>
+  <message key="Apache XML Projects">Projets Apache XML</message>
+</catalogue>

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/main/fresh-site/src/documentation/translations/tabs_fr.xml
------------------------------------------------------------------------------
    svn:keywords = Id