[OFBiz] Users - Problem to localize Entity OrderType

tapio.reisinger at t-online.de tapio.reisinger at t-online.de
Mon Mar 7 06:43:41 EST 2005


-----Original Message-----
> Date: Mon,  7 Mar 2005 12:29:43 +0100
> Subject: Re: Re: [OFBiz] Users - Problem to localize Entity OrderType
> From: mpf at zentric.com
> To: "OFBiz Users / Usage Discussion \(High Traffic\)"
> <users at lists.ofbiz.org>

> The property-file should be here:
> applications\order\config\OrderUiLabels_de.properties

Ok. I will check that later today.

 
> Do the german labels generally get displayed?

Yes. The German labels are displayed in german, except of all things in
the dropdown lists.


> I dont see
> applications\order\order at my release!

Well, could be that I mixed something up. I have no access at the moment
to an OFBiz-System.

> 
> mit freundlichen Grüssen/ Kind regards / muchos saludos
> --
> Dipl. Wirt.-Ing. Michael Pfurtscheller
> zentric  GmbH & Co. KG
> mobil: +49-172-5457143
> fon: +49-6101-556060
> fax: +49-6101-556065
> icq# 8724822
> mailto:michael.pfurtscheller at zentric.com
> http://www.zentric.com
> 
> users-bounces at lists.ofbiz.org wrote on 07.03.2005 11:01:45:
> 
> > Hello Michael,
> 
> > Yes I did a restart. The Wiki documentation doesn't say anything
> > about usage only in Widgets. I asume it should work in general.
> > 
> 
> > There is one thing I'm wondering about is. The Entitiy OrderType
> > relates to the package "org.ofbiz.order.order". There is also a
> > directory "\applications\Order\Order". The property file I changed
> > is in the directory "\applications\Order\". Has this something to do
> > with it? Should I use another property file?
> > 
> 
> > --Tapio
> 
> > 
> > -----Original Message-----
> > > Date: Mon,  7 Mar 2005 10:37:14 +0100
> > > Subject: Re: [OFBiz] Users - Problem to localize Entity OrderType
> > > From: mpf at zentric.com
> > > To: "OFBiz Users / Usage Discussion \(High Traffic\)"
> > > <users at lists.ofbiz.org>
> > > 
> 
> > > Hallo Tapio,
> > > and maybe somebody else could review this, too?
> > > 
> > > Seems that you did it as documented in the wiki
> > > Ideas:
> > > 
> > > 0) Did you restart ofbiz, since the properietys are cached?
> > > > 2. The get method on the GenericValue object has a locale passed
> > > > in and there is an override message in the properties-file for
> > > > that field,
> > > > 
> > > that is used instead of what is in the database.
> > > 
> > > 1) Set a breakpoint in genericvalue object and findout what locale
> > > is passed to the lookup-function to verify that the locale "de" is
> > > used?
> > > 
> > > 
> > > > The form tool !??? automatically passed the locale in, so there
> > > > you just
> > > > 
> > > need to add this attribute to the entity def.
> > > 
> > > 2) Is this a formwidget functionality only? and the order -
> > > component doesnt use widgets yet? verify!
> > > 
> 
> > 
> > > 
> > > mit freundlichen Grüssen/ Kind regards / muchos saludos
> > > --
> > > Dipl. Wirt.-Ing. Michael Pfurtscheller
> > > zentric  GmbH & Co. KG
> > > mobil: +49-172-5457143
> > > fon: +49-6101-556060
> > > fax: +49-6101-556065
> > > icq# 8724822
> > > mailto:michael.pfurtscheller at zentric.com
> > > http://www.zentric.com
> > > 
> > > users-bounces at lists.ofbiz.org wrote on 05.03.2005 10:40:54:
> > > 
> > > > Hi,
> > > 
> > > > I try to do some localization to prepare a demo. I wanted, not
> > > > only have the screen Labels in german, I also would like to have
> > > > the selections in the Dropdown lists in german, e.g. Order type.
> > > > So I found in the Wiki some explanation how to do it.
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > > > Like in the Wiki example, I extended the entity defintion:
> > > 
> > > > <entity entity-name="OrderType"
> > > > package-name="org.ofbiz.order.order"
> > > > default-resource-name="OrderUiLabels"
> > > > title="Order Type Entity"
> > > > enable-lock="false"
> > > > no-auto-stamp="false"
> > > > never-cache="false"
> > > > auto-clear-cache="true">
> > > > .
> > > > .
> > > > .
> > > > </entity>
> > > 
> > > > Then I added in the file
> > > > applications\Order\OrderUiLabels_de.properties the following
> > > > entry 
> > > > 
> > > 
> > > > OrderType.description.PURCHASE_ORDER=Bestellung
> > > 
> > > > 
> > > > But when I select in the Find Order screen the Dropdown-Button
> > > > for Order type, I still have the english descriptions. Any idea?
> > > > 
> > > > 
> > > 
> > > > --Tapio
> > > 
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users at lists.ofbiz.org
> > > > http://lists.ofbiz.org/mailman/listinfo/users
> > > 
> 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at lists.ofbiz.org
> > http://lists.ofbiz.org/mailman/listinfo/users
> 





More information about the Users mailing list