[TYPO3-dam] DAM, dam_ttcontent and localisation

georg k georg at georg.org
Wed Apr 4 00:26:15 CEST 2007


Patric,

I observed the same and posted a bug-report including solution (patching 
dam_ttcontent/pi_cssstyledcontent/class.tx_damttcontent_pi1.php )
see
http://bugs.typo3.org/view.php?id=5301
for details;

hth regards georg


Patric Pesch wrote:
> Patric Pesch schrieb:
>> Hi, i am using the latest beta of dam and the latest beta of
>> dam_ttcontent. The captions for the standard-language (entered for
>> images in dam) are shown in the frontend. This is very nice. :-)
>>
>> But if i change the language, its shows the standard-language, too
>> (german instead of english or french).
>> I've looked at the static TS and i think, there's nothing to select
>> the language from the translated item. Am i right and this is something
>> on the todo-list, or do i've an error in my settings?
>>
>> If its not supported yet, i would give it a try, but i need a hint than
>>  - is it something to do with TS or can i do it in
>> class.tx_damttcontent_pi1.php?
>>
>> greetings
>> Patric
> 
> Hi, i didn't get it. :-(
> 
> i've had a look at the static TS:
> 
> captionEach = {$styles.content.imgtext.captionEach}
> caption {
>   1 = TEXT
>   1 {
>    field >
>    data = field : imagecaption // field : txdam_caption
>    required = 1
>    parseFunc =< lib.parseFunc
>    br = 1
>    fontTag = <p class="csc-caption">|</p>
>    wrapAlign.field = imagecaption_position
>    split >
>   }
> }
> But what do i have to change, that typo gets the right language?
> In desperation i've tried it with (but with no hope):
>   languageField = sys_language_uid
> 
> But (as i supposed) that doesn't works. What can i do?
> 
> nice greetings
> Patric


More information about the TYPO3-project-dam mailing list