Forums / Discussions / Translate Custome Datatype class attribute

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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