[TYPO3-mvc] data from default lang for object in actual lang?

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Oct 7 15:53:39 CEST 2011


Hey,

> description of the project:
> a lot of records with a variant field which includes a flexform, where
> data is stored as xml.
> handling to these fields works as expected.
> now i should change the behaviour on translation:
> translated records should not include the whole flexform but only some
> fields, which really contain language-dependent information. most fields
> stay the same. especially the high-resolution images. at the moment all
> fields are copied on translation including all the big images. As there
> are 6 languages this results in 6 identical copies of each image and a
> lot of wasted space on the server.
...

sounds like a missing/wrong localization config for the flexform fields. 
You know that you can apply the same translation handling settings on 
flexform fields then for TCA fields? What's your configuration?

Also you could consider to NOT use a field of type GROUP for your 
images, but a simple input field having a wizard assigned allowing to 
select the related image. Then only the image path would be stored in 
the XML while the image will stay only once in fileadmin.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list