[TYPO3-dev] Records not translated properly when "sys_language_uid" is used as "type" field in TCA

Roland most.wanted at gmx.at
Fri Nov 23 10:18:03 CET 2012


hey,

 > You can not use the same field for language and type.

i would like to change that ;-)

 > They serve totally
 > different purposes.

i know. but that does not mean that these purposes exclude each other 
mutually

 > type is a string defining your content type (e.g.TEXT,Images....).

...which can be used to show/hide table fields depending on the selected 
type.

 > What is it that you want to achieve?

to put it in a nutshell: i would like to hide some table fields in 
default language.

generelly the concept would work: if i set "sys_language_uid" after 
(unsuccessfully) translating a record manually (e.g. in phpmyadmin) 
everything works like expected (fields are displayed/not displayed 
depending on the sys_lanuage of the record)

it is really only that TYPO3 fails to save the "sys_language_uid" while 
translating a record when using "sys_language_uid" as the type field.

i can not find the file/class/methdod where i could change that 
behaviour. do you? must be somewhere near typo3/tce_db.php...

kind regards

roland



More information about the TYPO3-dev mailing list