Re: AW: [OFBiz] Dev - i18n for entity Engine Values - I don't give up

Posted by Jacques Le Roux on
URL: http://ofbiz.116.s1.nabble.com/AW-OFBiz-Dev-i18n-for-entity-Engine-Values-tp165885p165888.html

Tapio,

I'm sorry have no time to look further.
But I can assure you that it's work fine. I use it without any problem at
all. There must be something wrong somewhere. Strange that only first line
is in french !

You may take a look at http://jira.undersunconsulting.com/browse/OFBIZ-356

You may also check your CommonEntityLabels_fr.properties files against svn ,
and send an ftl and/or xml file where you use StatusItem  (ie
...${statusItem.get("description",locale) ...) ?

Jacques

----- Original Message -----
From: "Tapio Reisinger" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Thursday, August 18, 2005 7:45 AM
Subject: Re: AW: [OFBiz] Dev - i18n for entity Engine Values - I don't give
up


> David,
>
> I have no solution so far.
>
> As I wrote, it didn't work without the "_fr" as well (see code below). I
> know there is workaround, changing the values directly in the database
> itself.
>
> Is there something else that I can check. I can't believe that we should
> be the only one, where this thing didn't work.
>
> Kind regards
> Tapio
>
>
>  > <!-- ========================================================= -->
>  >  <!-- org.ofbiz.common.status -->
>  >  <!-- ========================================================= -->
>  >
>  >    <entity entity-name="StatusItem"
>  >            package-name="org.ofbiz.common.status"
>  >            title="Status Entity"
>  >            default-resource-name="CommonEntityLabels"
>  >         enable-lock="false"
>  >         no-auto-stamp="false"
>  >         never-cache="false"
>  >         auto-clear-cache="true">
>  >      <field name="statusId" type="id-ne"></field>
>  >      <field name="statusTypeId" type="id-ne"></field>
>  >      <field name="statusCode" type="short-varchar"></field>
>  >      <field name="sequenceId" type="id"></field>
>  >      <field name="description" type="description"></field>
>  >      <prim-key field="statusId"/>
>  >      <relation type="one" fk-name="STATUS_TO_TYPE" >rel-entity-
>  > name="StatusType">
>  >        <key-map field-name="statusTypeId"/>
>  >      </relation>
>  >    </entity>
>  >
>
>
> David E. Jones schrieb:
> >
> > You shouldn't have the "_fr" in the default-resource-name.
> >
> > -David
> >
> >
> > On Aug 16, 2005, at 8:51 AM, Tapio Reisinger wrote:
> >
> >> this part was missing. sorry...
> >>
> >>
> >>>
> >>> This is the code which we add to the entitymodel:
> >>>
> >>>
> >>> <!-- ========================================================= -->
> >>>  <!-- org.ofbiz.common.status -->
> >>>  <!-- ========================================================= -->
> >>>
> >>>    <entity entity-name="StatusItem"
> >>>            package-name="org.ofbiz.common.status"
> >>>            title="Status Entity"
> >>>            default-resource-name="CommonEntityLabels_fr"
> >>>         enable-lock="false"
> >>>         no-auto-stamp="false"
> >>>         never-cache="false"
> >>>         auto-clear-cache="true">
> >>>      <field name="statusId" type="id-ne"></field>
> >>>      <field name="statusTypeId" type="id-ne"></field>
> >>>      <field name="statusCode" type="short-varchar"></field>
> >>>      <field name="sequenceId" type="id"></field>
> >>>      <field name="description" type="description"></field>
> >>>      <prim-key field="statusId"/>
> >>>      <relation type="one" fk-name="STATUS_TO_TYPE" >rel-entity-
> >>> name="StatusType">
> >>>        <key-map field-name="statusTypeId"/>
> >>>      </relation>
> >>>    </entity>
> >>>
> >>
> >> _______________________________________________
> >> Dev mailing list
> >> [hidden email]
> >> http://lists.ofbiz.org/mailman/listinfo/dev
> >>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev