[Multi-Lingual] Label definition in relation to the langage

Author Message

Sébastien Morel

Tuesday 12 September 2006 8:49:03 am

Hello,

I try to define a different label for a datatype of a class ?

How can I assign differents labels according to the langage in the admin interface.

For instance, When I configure a "selection" datatype, is it possible to define the label of an option according to the language ?
Or, when I configure the name of an attribute, is it possible to define a diffirent name per langages ?

Thanks
Séb

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Sébastien Morel

Thursday 14 September 2006 5:38:34 am

Anyone ?

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

J-A Eberhard

Thursday 14 September 2006 6:17:17 am

Hi,

For a selection datatype, I think you can do it through the content tab.

For the name of an attribute, I think it's not possible in 3.8.x, but I heard it will be in 3.9.x

Currently I'm using the id of the attribute and set the correct value in the translation.ts file.
For exemple, in edit pages I have

 {$attributes.item.contentclass_attribute.id|i18n( 'design/special' )}

this.

Hope it helps.

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.