Hallo zusammen!
Ich habe typo 3.4.0.1 installiert. Hat auch alles super geklappt. Nun zu meinem "Problemchen", dass mich nunmehr schon seit 2 Wochen beschäftigt. Nach Wechseln der Sprache
beim Klick auf die jeweilige Fahne werden die Navigationstitel auch in der jeweiligen Sprache angezeigt. Wenn ich aber auf LINKS im
Menü auf einen Eintrag klicke, bekomme ich immer die Default-Sprache deutsch angezeigt anstatt die vorher ausgewählte Sprache. Ich habe im Forum auch schon viele Hinweise gefunden, aber leider klappt es bei mir nicht. Soll meine erste Typo3-Seite werden, also bitte etwas Nachsicht, wenn das TypoScript noch nicht alles so passt.
[TS]# Mehrsprachigkeit
#######################################
config.LinkVars = L
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
#Netherlands language, sys_language.uid = 2
[globalVar = GP:L=2]
config.sys_language_uid = 2
config.sys_language_mode = content_fallback ; 0
config.language = nl
config.locale_all = nl_NL
config.htmlTag_langKey = nl
#English language, sys_language.uid = 3
[globalVar = GP:L=3]
config.sys_language_uid = 3
config.sys_language_mode = content_fallback ; 0
config.language = en
config.locale_all = en_EN
config.htmlTag_langKey = en
[global]
# XHTML DOCTYPE
#######################################
config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE"
page = PAGE
page {
typeNum = 0
bodyTag = <body>
includeCSS {
file1 = fileadmin/css/site.css
}
config {
cache = 1
no_cache = 0
doctype = xhtml_trans
xhtml_cleaning = all
index_enable = 1
}
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/index.html
workOnSubpart = DOKUMENT
marks{
INHALT =COA
INHALT {
10 = HMENU
10 {
special = rootline
special.range = 2|-1
1 = TMENU
1.noBlur = 1
1.wrap = <ul id="breadcrumb"> | </ul>
1.NO.linkWrap = <li> | -> </li> |*| <li> | -> </li>
1.NO.ATagTitle.field = abstract // description // title
1.NO.ATagTitle.noTrimWrap = | zur Seite: |
1.CUR = 1
1.CUR {
linkWrap = <li><span class="spot5" title="Sie befinden sich auf der Seite:"> | </span></li>
doNotLinkIt = 1
}
}
20 < styles.content.get
}
# Flags
#################################
FLAGS = PHP_SCRIPT
FLAGS {
file = fileadmin/scripts/langMenu.php
}
#LOGO =
TOPMENU = HMENU
TOPMENU {
special = directory
special.value = 2
1 = GMENU
1.wrap=<ul>|</ul>
1.noBlur = 1
1.NO = 1
1.NO {
XY = 100,20
background = #fdcba9
wrap = <li>|</li>
#Hintergrundbild
5 = IMAGE
5.file = fileadmin/images/topmenu.gif
#Beschriftung als Text rendern
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/fonts/BAUHS93.TTF
10.fontSize = 14
10.niceText = 1
10.offset = 16,14
}
1.RO < .1.NO
1.RO = 1
1.RO.5.file = fileadmin/images/topmenu_ro.gif
1.RO.10.fontColor = #000000
1.ACT < .1.NO
1.ACT = 1
1.ACT.5.file = fileadmin/images/topmenu_act.gif
1.ACT.10.fontColor = #0A3754
}
# Left Vertical Navigation
LINKS = HMENU
LINKS {
1 = TMENU
special = directory
special.value = 1
1 {
# Normal state properties
NO.allWrap = <div class="vertnav1"> | </div>
# Enable active state and set properties:
ACT = 1
noBlur = 1
ACT.allWrap = <div class="vertnav1-act"> | </div>
}
# Second level menu-object
2 = TMENU
2 {
# Normal state properties
NO.allWrap = <div class="vertnav2"> | </div>
# Enable active state and set properties:
ACT = 1
noBlur = 1
ACT.allWrap = <div class="vertnav2-act"> | </div>
}
# Third level menu-object
3 = TMENU
3 {
# Normal state properties
NO.allWrap = <div class="vertnav3"> | </div>
# Enable active state and set properties:
ACT = 1
noBlur = 1
ACT.allWrap = <div class="vertnav3-act"> | </div>
}
# Fourth level menu-object
4 = TMENU
4 {
# Normal state properties
NO.allWrap = <div class="vertnav4"> | </div>
# Enable active state and set properties:
ACT = 1
noBlur = 1
ACT.allWrap = <div class="vertnav4-act"> | </div>
}
}
FOOTER = TEXT
FOOTER.value =
}
}
}
[/TS]

