[OFBiz] Users - Problem to localize Entity OrderType
dirk.osterkamp at agrenon.com
dirk.osterkamp at agrenon.com
Tue Mar 8 07:31:00 EST 2005
Tapio,
until now we focused on enabling all the ftl for full translation. We just
translatet the entityUiLabels file and a collegue ist in the process of
testing this.
I think tomorrow i will know more.
Viele Gruesse
Best Regards
Dirk Osterkamp
Agrenon GmbH , a Subsidiary of Lynx Consulting AG
Johanniskirchplatz 6, D-33615 Bielefeld, Germany
Tel. +49 (521) 5247-0, Fax.+49 (521) 5247-250, Mobile +49(171)7437992
E-Mail: dirk.osterkamp at agrenon.com
"tapio.reisinger at t-online.de" <tapio.reisinger
Sent by: users-bounces at lists.ofbiz.org
07.03.2005 17:17
Please respond to "OFBiz Users / Usage Discussion \(High Traffic\)"
To: users at lists.ofbiz.org
cc:
Subject: Re: Re: Re: Re: [OFBiz] Users - Problem to
localize Entity OrderType
Hello Dirk,
ok, I will try this later. I'm just wondering, because description in
the Wiki is different, but maybe this needs some corrections. Have you
managed the translations, including the dropdown lists (which I
understand are entities), before restructuring the OFBiz components?
--Tapio
-----Original Message-----
> Date: Mon, 7 Mar 2005 16:49:15 +0100
> Subject: Re: Re: Re: [OFBiz] Users - Problem to localize Entity
> OrderType
> From: dirk.osterkamp at agrenon.com
> To: "OFBiz Users / Usage Discussion \(High Traffic\)"
> <users at lists.ofbiz.org>
> Tapio,
> there are other points of localizations for some common entity values:
> ./ofbiz/applications/common/config/CommonEntityLabels_xxxxx.properties
> where xxx is the locale shortcut. This was before the directory
> ./ofbiz/components/common/config/
> We made a translation of this for german. But we were hit by the
> directory structure reorg. and had'nt merged this. I'm also not sure
> if common component is in application now.
> And there are some label reorgs from the order component properties to
> common properties and i'm not sure if we got this right. I attach our
> CommonEntityLabels_de.properties and you can test if this help. Just
> put it where the CommonEntityLabels.properties is located.
> There are not all labels translated tro german, we focused on order
> and item related things.
>
> There is also some localization work to be done in the order component
> ftl's. We have this already done (externalize the label from the ftl
> and put in the .properties files and translate to _de) but couldn't
> commit this to the list (or jira) because of time restricitons and
> testing problems with the reorganized dir structure.
> We are going productive with a ofbiz shop and are little bit focused
> there at the moment ;-)
> But it will be on this list the next days, i hope.
> Hope that helps
>
>
> Viele Gruesse
> Best Regards
>
> Dirk Osterkamp
>
> Agrenon GmbH , a Subsidiary of Lynx Consulting AG
> Johanniskirchplatz 6, D-33615 Bielefeld, Germany
> Tel. +49 (521) 5247-0, Fax.+49 (521) 5247-250, Mobile +49(171)7437992
> E-Mail: dirk.osterkamp at agrenon.com
>
>
>
>
>
> "tapio.reisinger at t-online.de" <tapio.reisinger
> Sent by: users-bounces at lists.ofbiz.org
> 07.03.2005 12:43
> Please respond to "OFBiz Users / Usage Discussion \(High Traffic\)"
> To: users at lists.ofbiz.org
> cc:
> Subject: Re: Re: Re: [OFBiz] Users - Problem to localize Entity
> OrderType
>
>
> -----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
> >
>
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20050308/14e0cca8/attachment.htm
More information about the Users
mailing list