Forums / Discussions / Translate Custome Datatype class attribute

Translate Custome Datatype class attribute

Author Message

Jitesh Rana

Monday 22 August 2011 4:12:28 am

Hi all,

How to translate custom datatye class attribute?

I have a class with following attribute

1. id(oscar_identifier) *custom datatype

2. label(ezstring)

anybody know how to achieve this?

Thanks

André R.

Tuesday 23 August 2011 6:04:42 am

What do you mean with "How to translate custom datatye class attribute?"

Are you talking about the default string for the datatype?
If so it is not supported out of the box, datatypes will need to use serialized_data_text ( see also helper attributes: data_text_i18n & data_text_i18n_list )
I think this was added in 4.4.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom