cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r1162734 - in /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF: i18n/base_de.properties i18n/base_es.properties overview.html
Date Mon, 29 Aug 2011 11:08:34 GMT
Author: thorsten
Date: Mon Aug 29 11:08:33 2011
New Revision: 1162734

URL: http://svn.apache.org/viewvc?rev=1162734&view=rev
Log:
Adding more language examples for i18n

Added:
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties
  (with props)
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties
  (with props)
Modified:
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html

Added: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties?rev=1162734&view=auto
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties
(added)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties
Mon Aug 29 11:08:33 2011
@@ -0,0 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+#
+first=Erster
+This\ text\ will\ be\ translated.=Beispieltext
+article=Artikel
+key_text=

Propchange: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties?rev=1162734&view=auto
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties
(added)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties
Mon Aug 29 11:08:33 2011
@@ -0,0 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+#
+first=Primero
+This\ text\ will\ be\ translated.=Texto de ejemplo
+article=articulo
+key_text=

Propchange: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/i18n/base_es.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html?rev=1162734&r1=1162733&r2=1162734&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html (original)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html Mon Aug 29
11:08:33 2011
@@ -86,7 +86,7 @@
   <h2>i18N</h2>
   <ul>
     <li><a href="i18n/localefrombrowser">Get locale from browser's preferred</a>:
Translate with locale from browser's preferred.</li>
-    <li><a href="i18n/localefromparameter?lang=it">Get locale from request parameter</a>:
Translate with locale from request parameter.</li>
+    <li>Get locale from request parameter: <a href="i18n/localefromparameter?lang=de">de</a>|<a
href="i18n/localefromparameter?lang=es">es</a>|<a href="i18n/localefromparameter?lang=it">it</a>:
Translate with locale from request parameter.</li>
   </ul>
   <h2>Advanced Matching</h2>
   <p>(using a JEXL expression to set a test value)</p>



Mime
View raw message