Forums / Setup & design / Disable translation for specific attribute?

Disable translation for specific attribute?

Author Message

Sebastian Picklum

Tuesday 24 January 2006 6:15:32 am

Hi together!

I was wondering if it is possible to disable translation and maybe versioning for specific attributes of a class. E.g. I want to disable translation of an image-attribute so that the image-file is stored only once on the server for all languages.

Regards

Sebastian

sp@php.net

Ɓukasz Serwatka

Tuesday 24 January 2006 6:33:17 am

Hi Sebastian,

You can disable translation for specific attribute in edit mode of your content class.

1. Go to Setup->Classes
2. Choose class to edit and click edit button
3. Disable translation (checkbox) for specific attribute
4. Save changes

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Sebastian Picklum

Tuesday 24 January 2006 6:38:10 am

Thanks for your reply!

I did disable translation for the Image-attribute in the specific class but there are still two directories showing up in the file system...

sp@php.net

Sebastian Picklum

Tuesday 24 January 2006 7:26:24 am

Hmm, I took a look at the eZp source code. Is it right that the files I see are just hard links? So the webspace is not wasted with multiple copies of one image? Are the images stored in "images-versioned" the reference files for the links?

sp@php.net