Skip to Content
0
Former Member
Jun 18, 2015 at 12:33 AM

Unable to override Category localisation label property on extended itemType

137 Views

Hi

I have extended the Category itemType with an itemType called MyCategory. I have defined a new deployment table for MyCategory and I have defined some new attributes.

In the myext-locales_en.properties I have put

 type.supplier.code.name=Test Code Name
 type.supplier.code.description=Test Code Name Description
 type.supplier.name.name=Test Name Name
 type.supplier.name.description=Test Name Description

Also in backoffice config file I have defined

 <context type="MyCategory" component="listview">
     <list:list-view xmlns:list="http://www.hybris.com/cockpitng/component/listView">
         <list:column qualifier="code"/>
         <list:column qualifier="name"/>
         <list:column qualifier="catalogVersion"/>
     </list:list-view>
 </context>

The Attributes code and name are inherited from Category item to MyCategory. As a result I was expecting to see the Category labels in the list view overriden with the ones that I have defined in my myext-locales_en.properties file but instead I get "Identifier" for "code" and "Name" for "name" fields which are the defaults from catalog-locales_en.properties. I have also tried the redeclare option for code and name but no luck.

How is it possible to override those labels?

Thanks