Zum Inhalt springen

Mehrsprachigkeit funktioniert nicht

Erstellt am 28. April 2009 · 1 Antwort · letzte Antwort am 29. April 2009

Tags: Frage

Concrete ·

Hallo, ich habe die erste Seite meiner Homepage im Ein Baum Prinzip auch in Englisch übersetzt, im FE wird jedoch weiterhin nur Deutsch angezeigt, woran kann das liegen. Ich verwende noch eine alte 3.5.0 Version.
Hier noch mein Setup Template, falls das was bringt, bitte um detaillierte Erklärungen, da ich noch ziemlicher Neuling auf diesem Gebiet bin.

# left navigation menu title
plugin.tx_rlmptmplselector_pi1 {
// Define the paths leading to our HTML template files
templatePathMain = fileadmin/template/main/
templatePathSub = fileadmin/template/sub/

// Define the filenames used as the default HTML templates
defaultTemplateFileNameMain = clg_layout_1.html
defaultTemplateFileNameSub =

// If there is a page having no template selected, use a template
// selected earlier in the rootline. If there is none, use the default
inheritMainTemplates = 0
inheritSubTemplates = 1
}

plugin.tx_automaketemplate_pi1.content < plugin.tx_tmplselect_pi1

temp.menu_title = TEXT
temp.menu_title.data = leveltitle : 1

# 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 ###menu_1### subpart with dynamic menu:
subparts {
left_nav < temp.menu_1
layer_menu < temp.mainmenu
menu_level1 < temp.menu_title
content < styles.content.get
colRight < styles.content.getRight
ref_nav < temp.refmenu_1

news-pi < styles.content.getBorder
news-pi.allWrap = <div class="clg_news"> | </div>
}
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1

# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}

# Default PAGE object:
page = PAGE
page.config.spamProtectEmailAddresses = 1
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
page.typeNum = 0

# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate

# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate

config.simulateStaticDocuments = 1

danton ·

Hi
Wo sind Deine Sprachdefinitionen?
Außerdem die 3.5 ist mind. 5 Jahre alt. :o
Nimm ne neue 😉

Gruß Danton