Re: AW: [OFBiz] Dev - i18n for entity Engine Values

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


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

smime.p7s (3K) Download Attachment