Author: erwan
Date: Thu Jan 21 17:50:10 2010
New Revision: 901801
URL: http://svn.apache.org/viewvc?rev=901801&view=rev
Log:
First move on internationalization for the OFBiz internal website, created new
uiLabels and added smaller flags
Added:
ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/fr.png (with
props)
ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/nl.png (with
props)
ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/us.png (with
props)
Modified:
ofbiz/trunk/specialpurpose/ofbizwebsite/config/OfbizUiLabels.xml
ofbiz/trunk/specialpurpose/ofbizwebsite/data/OfbizData.xml
ofbiz/trunk/specialpurpose/ofbizwebsite/template/HtmlHead.ftl
Modified: ofbiz/trunk/specialpurpose/ofbizwebsite/config/OfbizUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/config/OfbizUiLabels.xml?rev=901801&r1=901800&r2=901801&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ofbizwebsite/config/OfbizUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/ofbizwebsite/config/OfbizUiLabels.xml Thu Jan 21
17:50:10 2010
@@ -19,30 +19,94 @@
under the License.
-->
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <property key="OfbizHome">
- <value xml:lang="en">Home</value>
- <value xml:lang="nl">Home</value>
- </property>
<property key="OfbizAbout">
<value xml:lang="en">About</value>
+ <value xml:lang="fr">Aperçu</value>
<value xml:lang="nl">Om</value>
</property>
- <property key="OfbizFeatures">
- <value xml:lang="en">Features</value>
- <value xml:lang="nl">Kenmerk</value>
+ <property key="OfbizCallout1">
+ <value xml:lang="en">The best things in life <br/> are
FREE.</value>
+ <value xml:lang="fr">The best things in life <br/> are
FREE.</value>
+ <value xml:lang="nl">The best things in life <br/> are
FREE.</value>
+ </property>
+ <property key="OfbizCallout2">
+ <value xml:lang="en">Lower Costs, <br/>Higher Margins.</value>
+ <value xml:lang="fr">Coûts réduits, <br/>Marges
augmentées.</value>
+ <value xml:lang="nl">Lower Costs, <br/>Higher Margins.</value>
+ </property>
+ <property key="OfbizCallout3">
+ <value xml:lang="en">OPEN yourself up to all<br/> of the
possibilities</value>
+ <value xml:lang="fr">OPEN yourself up to all<br/> of the
possibilities</value>
+ <value xml:lang="nl">OPEN yourself up to all<br/> of the
possibilities</value>
+ </property>
+ <property key="OfbizCallout4">
+ <value xml:lang="en">We have<br/> street cred</value>
+ <value xml:lang="fr">We have<br/> street cred</value>
+ <value xml:lang="nl">We have<br/> street cred</value>
+ </property>
+ <property key="OfbizCallout5">
+ <value xml:lang="en">Just like muscles,<br/> e-commerce
should<br/>be flexible.</value>
+ <value xml:lang="fr">Just like muscles,<br/> e-commerce
should<br/>be flexible.</value>
+ <value xml:lang="nl">Just like muscles,<br/> e-commerce
should<br/>be flexible.</value>
+ </property>
+ <property key="OfbizCommunity">
+ <value xml:lang="en">Community</value>
+ <value xml:lang="fr">Communauté</value>
+ <value xml:lang="nl">Gemeenschap</value>
</property>
<property key="OfbizDocumentation">
<value xml:lang="en">Documentation</value>
+ <value xml:lang="fr">Documents</value>
<value xml:lang="nl">Documentatie</value>
</property>
<property key="OfbizDownload">
<value xml:lang="en">Download</value>
+ <value xml:lang="fr">Télécharger</value>
<value xml:lang="nl">Downloaden</value>
</property>
- <property key="OfbizCommunity">
- <value xml:lang="en">Community</value>
- <value xml:lang="nl">Gemeenschap</value>
+ <property key="OfbizFeatures">
+ <value xml:lang="en">Features</value>
+ <value xml:lang="fr">Utilsations</value>
+ <value xml:lang="nl">Kenmerk</value>
+ </property>
+ <property key="OfbizHome">
+ <value xml:lang="en">Home</value>
+ <value xml:lang="fr">Accueil</value>
+ <value xml:lang="nl">Home</value>
+ </property>
+ <property key="OfbizMantle1">
+ <value xml:lang="en">Apache Open For Business (OFBiz) is a
community-driven open source project. That means, no licensing fees. For many,
OFBiz is also the best e-commerce and enterprise resource planning (ERP)
software available.</value>
+ <value xml:lang="fr">Apache Open For Business (OFBiz) est un projet
Open-Source piloté par sa communauté. Ce qui veut dire, entre autres, pas de
frais de licence. Pour beaucoup, OFBiz est aussi le meilleur outil e-commerce
et ERP disponible.</value>
+ <value xml:lang="nl"></value>
+ </property>
+ <property key="OfbizMantle2">
+ <value xml:lang="en">Achieve a system that is as good or better than
those available from major proprietary ERPs at a significantly lower total
project cost. You can budget for custom features and added value rather than
license and maintenance fees.</value>
+ <value xml:lang="fr">Obtenez un système aussi bon voire meilleur que
n'importe quel ERP propriétaire pour un coût moins important. Ainsi vous
pourrez ajouter vos fonctionnalités plutôt que d'investir dans des licences
et des frais de maintenance.</value>
+ <value xml:lang="nl"></value>
+ </property>
+ <property key="OfbizMantle3">
+ <value xml:lang="en">Enjoy freedom from indefinite vendor lock; with
OFBiz, you can fully leverage internal resources and/or any of the dozens of
organizations offering quality OFBiz implementation and support
services.</value>
+ <value xml:lang="fr">Enjoy freedom from indefinite vendor lock; with
OFBiz, you can fully leverage internal resources and/or any of the dozens of
organizations offering quality OFBiz implementation and support
services.</value>
+ <value xml:lang="nl">Enjoy freedom from indefinite vendor lock; with
OFBiz, you can fully leverage internal resources and/or any of the dozens of
organizations offering quality OFBiz implementation and support
services.</value>
+ </property>
+ <property key="OfbizMantle4">
+ <value xml:lang="en">OFBiz users can rely on the organizational,
legal, and financial stability that comes with OFBiz being a top-level project
at the Apache Software Foundation (ASF).</value>
+ <value xml:lang="fr">OFBiz users can rely on the organizational,
legal, and financial stability that comes with OFBiz being a top-level project
at the Apache Software Foundation (ASF).</value>
+ <value xml:lang="nl">OFBiz users can rely on the organizational,
legal, and financial stability that comes with OFBiz being a top-level project
at the Apache Software Foundation (ASF).</value>
+ </property>
+ <property key="OfbizMantle5">
+ <value xml:lang="en">Because you will have complete access to source
code, you will eliminate "proprietary system" limitations. The entire open
source community benefits from making OFBiz as clear, flexible, and reusable as
possible.</value>
+ <value xml:lang="fr">Because you will have complete access to source
code, you will eliminate "proprietary system" limitations. The entire open
source community benefits from making OFBiz as clear, flexible, and reusable as
possible.</value>
+ <value xml:lang="nl">Because you will have complete access to source
code, you will eliminate "proprietary system" limitations. The entire open
source community benefits from making OFBiz as clear, flexible, and reusable as
possible.</value>
+ </property>
+ <property key="OfbizSearch">
+ <value xml:lang="en">Search...</value>
+ <value xml:lang="fr">Rechercher...</value>
+ <value xml:lang="nl">Search...</value>
+ </property>
+ <property key="OfbizTitle">
+ <value xml:lang="en">OFBiz, The Apache Open For Business Project -
Open Source E-Business / E-Commerce, ERP, CRM, POS</value>
+ <value xml:lang="fr">OFBiz : Apache Open For Business - Solution open
source business / eCommerce / ERP / CRM / POS</value>
+ <value xml:lang="nl">OFBiz, The Apache Open For Business Project -
Open Source E-Business / E-Commerce, ERP, CRM, POS</value>
</property>
-
-
</resource>
\ No newline at end of file
Modified: ofbiz/trunk/specialpurpose/ofbizwebsite/data/OfbizData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/data/OfbizData.xml?rev=901801&r1=901800&r2=901801&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ofbizwebsite/data/OfbizData.xml (original)
+++ ofbiz/trunk/specialpurpose/ofbizwebsite/data/OfbizData.xml Thu Jan 21
17:50:10 2010
@@ -25,7 +25,7 @@
<DataResource dataResourceId="OFBIZ_FOOT"
dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL"
mimeTypeId="text/html" objectInfo="component://ofbiz/template/Footer.ftl"/>
<DataResource dataResourceId="OFBIZ_HOME_EN" localeString="en"
dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="FTL"/>
<DataResource dataResourceId="OFBIZ_HOME_NL" localeString="nl"
dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="FTL"/>
-
+
<Content contentId="OFBIZ_POINT" contentTypeId="WEB_SITE_PUB_PT"
contentName="OFBiz Site Publish Point" description=""/>
<Content contentId="OFBIZ_DEC" contentTypeId="DECORATOR"
contentName="OFBiz main decorator" dataResourceId="OFBIZ_DEC"/>
<Content contentId="OFBIZ_HHEAD" contentTypeId="DOCUMENT"
contentName="OFBiz HTML Head" dataResourceId="OFBIZ_HHEAD"/>
@@ -33,47 +33,45 @@
<Content contentId="OFBIZ_FOOT" contentTypeId="DECORATOR"
contentName="OFBiz footer" dataResourceId="OFBIZ_FOOT"/>
<Content contentId="OFBIZ_HOME_EN" localeString="en"
contentTypeId="DOCUMENT" decoratorContentId="OFBIZ_DEC" contentName="OFBiz home
page" dataResourceId="OFBIZ_HOME_EN"/>
<Content contentId="OFBIZ_HOME_NL" localeString="nl"
contentTypeId="DOCUMENT" decoratorContentId="OFBIZ_DEC" contentName="OFBiz home
page" dataResourceId="OFBIZ_HOME_NL"/>
-
+
<WebSite webSiteId="OFBIZ" siteName="OFBiz Website"/>
<WebSiteContent webSiteId="OFBIZ" contentId="OFBIZ_POINT"
webSiteContentTypeId="PUBLISH_POINT" fromDate="2009-04-27 13:33:05.29"/>
<WebSiteContent webSiteId="OFBIZ" contentId="OFBIZ_HOME"
webSiteContentTypeId="DEFAULT_PAGE" fromDate="2001-01-01 00:00:00"/>
-
+
<ContentPurpose contentId="OFBIZ_DEC" contentPurposeTypeId="SECTION"/>
<ContentPurpose contentId="OFBIZ_HHEAD" contentPurposeTypeId="SECTION"/>
<ContentPurpose contentId="OFBIZ_HEAD" contentPurposeTypeId="SECTION"/>
<ContentPurpose contentId="OFBIZ_FOOT" contentPurposeTypeId="SECTION"/>
<ContentPurpose contentId="OFBIZ_HOME_EN" contentPurposeTypeId="SECTION"/>
<ContentPurpose contentId="OFBIZ_HOME_NL" contentPurposeTypeId="SECTION"/>
-
- <ContentAssoc contentId="OFBIZ_DEC" contentIdTo="OFBIZ_HHEAD"
contentAssocTypeId="SUB_CONTENT" fromDate="2009-03-16 10:49:33.238"
mapKey="htmlHead" createdDate="2009-03-16 10:49:33.238"
createdByUserLogin="admin" lastModifiedDate="2009-03-16 10:49:33.238"
lastModifiedByUserLogin="admin" lastUpdatedStamp="2009-03-20 09:26:56.285"
lastUpdatedTxStamp="2009-03-20 09:26:56.015" createdStamp="2009-03-20
09:26:56.285" createdTxStamp="2009-03-20 09:26:56.015"/>
+
+ <ContentAssoc contentId="OFBIZ_DEC" contentIdTo="OFBIZ_HHEAD"
contentAssocTypeId="SUB_CONTENT" fromDate="2009-03-16 10:49:33.238"
mapKey="htmlHead"/>
<ContentAssoc contentId="OFBIZ_DEC" contentIdTo="OFBIZ_HEAD"
contentAssocTypeId="SUB_CONTENT" mapKey="header" fromDate="2001-01-01
00:00:00"/>
<ContentAssoc contentId="OFBIZ_DEC" contentIdTo="OFBIZ_FOOT"
contentAssocTypeId="SUB_CONTENT" mapKey="footer" fromDate="2001-01-01
00:00:00"/>
<ContentAssoc contentId="OFBIZ_POINT" contentIdTo="OFBIZ_HOME_EN"
contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00" mapKey="Home"/>
-
- <!-- Alternate Locale -->
- <ContentAssoc contentId="OFBIZ_HOME_EN" contentIdTo="OFBIZ_HOME_NL"
contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2009-04-13 09:07:30.201"
createdDate="2009-03-24 09:07:40.628" createdByUserLogin="admin"
lastModifiedDate="2009-03-24 09:07:40.628" lastModifiedByUserLogin="admin"
lastUpdatedStamp="2009-03-25 09:50:22.807" lastUpdatedTxStamp="2009-03-25
09:50:22.455" createdStamp="2009-03-24 09:07:40.629" createdTxStamp="2009-03-24
09:07:40.412"/>
-
-
+
+ <!-- Alternate Locale -->
+ <ContentAssoc contentId="OFBIZ_HOME_EN" contentIdTo="OFBIZ_HOME_NL"
contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2009-04-13 09:07:30.201"/>
+
<!-- Website -->
<WebSite webSiteId="OFBIZ" siteName="OFBiz Website"/>
<WebSiteContent webSiteId="OFBIZ" contentId="OFBIZ_POINT"
webSiteContentTypeId="PUBLISH_POINT" fromDate="2009-04-27 13:33:05.29"/>
<WebSiteContent webSiteId="OFBIZ" contentId="OFBIZ_HOME_EN"
webSiteContentTypeId="DEFAULT_PAGE" fromDate="2001-01-01 00:00:00"/>
-
-
-
+
<!-- ElectronicText English -->
<ElectronicText dataResourceId="OFBIZ_HOME_EN">
<textData><![CDATA[
<body id="home">
- <div id="wrap">
- <!--header -->
+ <div id="wrap">
+ <!--header -->
<div id="header">
<div id="logo">
<a href="#"><img src="/ofbiz/images/logo.gif"/></a>
</div>
<div id="language">
- Language: NL
- <a
href="<@ofbizUrl>setSessionLocale?newLocale=nl</@ofbizUrl>"><img
src="/ofbiz/images/nl.jpeg"/></a>
+ <a
href="<@ofbizUrl>setSessionLocale?newLocale=en</@ofbizUrl>"><img
src="/ofbiz/images/us.png"/></a>
+ <a
href="<@ofbizUrl>setSessionLocale?newLocale=nl</@ofbizUrl>"><img
src="/ofbiz/images/nl.png"/></a>
+ <a
href="<@ofbizUrl>setSessionLocale?newLocale=fr</@ofbizUrl>"><img
src="/ofbiz/images/fr.png"/></a>
</div>
<!-- Coming Soon...
<div id="controls">
@@ -94,78 +92,35 @@
<form method="post"
action="http://cwiki.apache.org/confluence/dosearchsite.action"
name="searchForm">
<input name="quickSearch" value="true" type="hidden">
<input name="searchQuery.spaceKey" value="conf_global"
type="hidden">
- <input id="searchDocs" value="Search..." class="class1
class2 hint" accesskey="s" name="searchQuery.queryString" type="text">
+ <input id="searchDocs" value="${uiLabelMap.OfbizSearch}"
class="class1 class2 hint" accesskey="s" name="searchQuery.queryString"
type="text">
</form>
</div>
<div id="slides">
<div class="slideshow" id="mantleSlides">
<div style="display: none;" id="slide1">
- <div class="callout">
- The best things in life<br>
- are FREE.<br>
- </div>
- <div class="description">
- Apache Open For Business (OFBiz) is a community-driven
open source project. That means, no licensing fees.
- For many, OFBiz is also the best e-commerce and
enterprise resource planning (ERP) software available.
- </div>
- <div class="mantle">
- <img src="/ofbiz/images/mantle.png">
- </div>
+ <div class="callout">${uiLabelMap.OfbizCallout1}</div>
+ <div class="description">${uiLabelMap.OfbizMantle1}</div>
+ <div class="mantle"><img
src="/ofbiz/images/mantle.png"></div>
</div>
<div id="slide2" style="display: none;">
- <div class="callout">
- Lower Costs,<br>
- Higher Margins.<br>
- </div>
- <div class="description">
- Achieve a system that is as good or better than those
available
- from major proprietary ERPs at a significantly lower
total project cost.
- You can budget for custom features and added value
rather than license and maintenance fees.
- </div>
- <div class="mantle">
- <img src="/ofbiz/images/mantle2.png">
- </div>
+ <div class="callout">${uiLabelMap.OfbizCallout2}</div>
+ <div class="description">${uiLabelMap.OfbizMantle2}</div>
+ <div class="mantle"><img
src="/ofbiz/images/mantle2.png"></div>
</div>
<div id="slide3" style="">
- <div class="callout">
- OPEN yourself up to all<br>
- of the possibilities<br>
- </div>
- <div class="description">
- Enjoy freedom from indefinite vendor lock; with OFBiz,
you can fully leverage internal
- resources and/or any of the dozens of organizations
offering quality OFBiz
- implementation and support services.
- </div>
- <div class="mantle">
- <img src="/ofbiz/images/mantle3.png">
- </div>
+ <div class="callout">${uiLabelMap.OfbizCallout3}</div>
+ <div class="description">${uiLabelMap.OfbizMantle3}</div>
+ <div class="mantle"><img
src="/ofbiz/images/mantle3.png"></div>
</div>
<div id="slide4" style="display: none;">
- <div class="callout">
- We have<br>
- street cred.<br>
- </div>
- <div class="description">
- OFBiz users can rely on the organizational, legal, and
financial stability
- that comes with OFBiz being a top-level project at the
Apache Software Foundation (ASF).
- </div>
- <div class="mantle">
- <img src="/ofbiz/images/mantle4.png">
- </div>
+ <div class="callout">${uiLabelMap.OfbizCallout4}</div>
+ <div class="description">${uiLabelMap.OfbizMantle4}</div>
+ <div class="mantle"><img
src="/ofbiz/images/mantle4.png"></div>
</div>
<div id="slide5" style="display: none;">
- <div class="callout">
- Just like muscles,<br>
- e-commerce should<br>
- be flexible.
- </div>
- <div class="description">
- Because you will have complete access to source code,
you will eliminate "proprietary system" limitations.
- The entire open source community benefits from making
OFBiz as clear, flexible, and reusable as possible.
- </div>
- <div class="mantle">
- <img src="/ofbiz/images/mantle5.png">
- </div>
+ <div class="callout">${uiLabelMap.OfbizCallout5}</div>
+ <div class="description">${uiLabelMap.OfbizMantle5}</div>
+ <div class="mantle"><img
src="/ofbiz/images/mantle5.png"></div>
</div>
</div>
<div class="controls">
@@ -175,22 +130,15 @@
<a class="stop" id="stop" title="Stop" href="#">Stop</a>
</div>
</div>
-
<script type="text/javascript">
function StartSlides() {
new Slides('mantleSlides');
}
document.observe ('dom:loaded', StartSlides);
</script>
-
</div>
- <!--header ends-->
-
-
- <!-- content-wrap starts -->
<div id="content-wrap" class="clearfix">
<div id="main">
-
<h2>What is Apache OFBiz?</h2>
<h3>Learn more about the project</h3>
<div class="highlights">
@@ -361,7 +309,7 @@
<!-- sidebar -->
</div>
<!-- content-wrap -->
- </div>
+ </div>
]]></textData>
</ElectronicText>
Modified: ofbiz/trunk/specialpurpose/ofbizwebsite/template/HtmlHead.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/template/HtmlHead.ftl?rev=901801&r1=901800&r2=901801&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ofbizwebsite/template/HtmlHead.ftl (original)
+++ ofbiz/trunk/specialpurpose/ofbizwebsite/template/HtmlHead.ftl Thu Jan 21
17:50:10 2010
@@ -20,8 +20,8 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
- <title>OFBiz, The Apache Open For Business Project - Open Source
E-Business / E-Commerce, ERP, CRM, POS</title>
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
+ <title>${uiLabelMap.OfbizTitle}</title>
<link rel="shortcut icon" href="/ofbiz/images/favicon.ico">
<script language="javascript" src="/images/prototypejs/prototype.js"
type="text/javascript"></script>
<script language="javascript" src="/images/fieldlookup.js"
type="text/javascript"></script>
Added: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/fr.png
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/fr.png?rev=901801&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/fr.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/fr.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/nl.png
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/nl.png?rev=901801&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/nl.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/nl.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/us.png
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/us.png?rev=901801&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/us.png
------------------------------------------------------------------------------
svn:executable = *
Propchange: ofbiz/trunk/specialpurpose/ofbizwebsite/webapp/ofbiz/images/us.png
------------------------------------------------------------------------------
svn:mime-type = image/png