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

Posted by David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/AW-OFBiz-Dev-i18n-for-entity-Engine-Values-tp165885p165889.html


If it's not working, go back to the basics. Look for typos or missing  
artifacts and such.

-David


On Aug 17, 2005, at 11:45 PM, Tapio Reisinger wrote:

> 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

smime.p7s (3K) Download Attachment