菜单

TYPO3多语言配置

2010年06月2日 - typo3

####### Multiple Languages ####
config.linkVars = L
config.sys_language_uid = 0
config.sys_language_overlay = 1

############ Current LANGUAGE Navigation ####################
currentlanguage = TEXT
currentlanguage.value = Sprachauswahl/Language

##################################################
[globalVar = GP:L=0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
config.htmlTag_langKey = de-DE
[global]
[globalVar = GP:L=1]
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN
config.htmlTag_langKey = en-EN
[global]
[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = cn
config.locale_all = zh-CN
[GLOBAL]
languagelistmenu = HMENU
languagelistmenu {
special = language
special.value = 0,1,2
special.normalWhenNoLanguage = 0
1 = TMENU
1 {
# Normal link to language that exists:
NO = 1  #set Current language
NO {
#allWrap = | | |*| | |  |*| |
linkWrap = <li>|</li>
stdWrap.setCurrent = Deutsch || English || 中文
stdWrap.current = 1
}

# Current language selected:
ACT < .NO
ACT.linkWrap = <li class=’current’> | </li>

#Language that is NOT available:
USERDEF1 < .NO
USERDEF1.linkWrap = <li> | </li>
USERDEF1.doNotLinkIt = 1
}

}
}

####### Multiple Languages  END ############

发表评论

电子邮件地址不会被公开。 必填项已用*标注