[TYPO3-german] multi-lang content
a owen
aowen at swissonline.ch
Sat Feb 3 13:52:52 CET 2007
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
}
}
More information about the TYPO3-german
mailing list