[OFBiz] Dev - Localization Patch for Ecommerce

Can Castell cancastell at yahoo.com
Tue Sep 28 05:52:18 EDT 2004


Hi David,

I know that You are very busy. But I focused to
localization of Ofbiz.
I'm waiting for your suggestions and your opinions on
my works.

Thanks,
Can

----- Original Message ----- 
From: "can" <cancastell at yahoo.com>
To: "OFBiz Development" <dev at lists.ofbiz.org>
Sent: Saturday, September 25, 2004 10:40 AM
Subject: Re: [OFBiz] Dev - Localization Patch for
Ecommerce


> David,
> 
> This patch is not a full localization for ecommerce.
This is a partial
> patch.
> But I will send other patches for generic messages
in java files.
> 
> I've a question for xml files.
> How do we localization xml files?
> For example
>
components\ecommerce\webapp\ecommerce\WEB-INF\pagedefs\contactus.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <page>
>     <template>main_right</template>
>     <property name="title">Login</property>
>     <property name="pageHeader">Contact
Us</property>
>     <property name="headerItem">contactus</property>
> </page>
> 
> I tried
>     <property
name="title">"${uiLabelMap.CommonLogin}"</property>
> But didn't work.
> 
> In some xml files, it is working. For example
CalendarForms.xml
>         <field name="description"
>
title="${uiLabelMap.CommonDescription}"><display/></field>
> 
> -Can
> 
> ----- Original Message ----- 
> From: "David E. Jones" <jonesde at ofbiz.org>
> To: "OFBiz Development" <dev at lists.ofbiz.org>
> Sent: Friday, September 24, 2004 10:12 PM
> Subject: Re: [OFBiz] Dev - Localization Patch for
Ecommerce
> 
> Can,
> 
> As much as I like FreeMarker, I'm not sure if I want
to have localized
> messages that can only used in it. For the most part
we have tried to
> stay more generic with these messages, avoiding
FreeMarker markup in
> them.
> 
> We do sometimes use the FlexibleStringExpander for
localized messages,
> which has a similar though simpler syntax, and that
may be an option
> here, though not quite as convenient.
> 
> -David
> 
> 
> 
> >
> > _______________________________________________
> > Dev mailing list
> > Dev at lists.ofbiz.org
> > http://lists.ofbiz.org/mailman/listinfo/dev
> 


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the Dev mailing list