Posted by
Tapio Reisinger on
URL: http://ofbiz.116.s1.nabble.com/AW-OFBiz-Dev-i18n-for-entity-Engine-Values-tp165885p165887.html
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