[TYPO3-german] multi-lang content

Georg Schönweger gearg.schenveger at virgilio.it
Sat Feb 3 14:40:57 CET 2007


Hi,

versuchs mal mit

  subparts.discTitle = COA
  subparts.discTitle {
   10 = RECORDS
   10 {
     tables = tt_content
     source = 22
     source.lang.en = en-uid..
  } 

wenn man in Typo3 etwas übersetzt wird ein neuer Datensatz in tt_content
eingefügt, im feld sys_language_uid wird die SprachUid abgespeichert und
l18n_parent(ists glaub ich) zeigt auf das Original..

grüße,
  Georg

a owen schrieb:
> Hallo
>
> Ich habe ein kleines Problem mit der multi-lang Möglichkeiten. Bei
> subparts.discTxt und subparts.discTitle wird die Sprache nicht
> gewechselt, bei allem anderem schon. Ich verwende die one-tree-methode,
> bei der man die Seite im BE anklickt und oben rechts im dorp-down
> Languages wählt. anschliessend kann man die Seite übersetzen und alle
> Inhalte kopieren und übersetzen. Mir ist dabei aufgefallen, dass die
> Inhalte eine neue Id bekommen. Falls TS dies nicht irgendwie übersetzt
> stimmt ja die "source" nicht mehr. Hat jemand ne Idee?
>
> Gruss
> Andi
>
> Mein Template und die Sprache wird in einem höheren Template bestimmt:
>
> # Main TEMPLATE cObject for the BODY
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
>     # Feeding the content from the Auto-parser to the TEMPLATE cObject:
>   template =< plugin.tx_automaketemplate_pi1
>     # Select only the content between the <body>-tags
>   workOnSubpart = DOCUMENT_BODY
>
>     # Substitute the ###content### subpart with some example content:
>   subparts.content < styles.content.get
>   
>   subparts.headerLinks = PHP_SCRIPT
>   subparts.headerLinks.file = fileadmin/php/sprachmenu.php
>   
>   subparts.menu = PHP_SCRIPT
>   subparts.menu.file = fileadmin/php/menu.php
>   
>   subparts.discTxt = COA
>   subparts.discTxt {
>    10 = RECORDS
>    10 {
>      tables = tt_content
>      source = 23
>   }
>
>   subparts.discTitle = COA
>   subparts.discTitle {
>    10 = RECORDS
>    10 {
>      tables = tt_content
>      source = 22
>   } 
> }
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list