[TYPO3-dam] DAM, dam_ttcontent and localisation

Patric Pesch p.pesch at 11com7.de
Tue Apr 3 15:46:14 CEST 2007


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