我试图建立一个多语文网站,有打字3,但有一些麻烦。 该网站的缺省语是德语,但我也希望有英文和法文版本。 因此,我再界定了2种语文:英文,ID=2和法文,ID=3
下一步 我在模板中添加了这一文字:
config.linkVars = L
config.uniqueLinkVars = 2
config.sys_language_overlay = content_fallback
config.language = de
config.locale_all = de_DE
config.htmlTag_langKey = de-DE
config.sys_language_uid = 0
[globalVar = GP:L = 2]
config.language = en
config.locale_all = en_EN
config.htmlTag_langKey = en-EN
config.sys_language_uid = 2
[globalVar = GP:L = 3]
config.language = fr
config.sys_language_uid = 3
config.locale_all = fr_FR
config.htmlTag_langKey = fr-FR
[end]
And then I added this language menu, from the extension srlanguagemenu:
10 < plugin.tx_srlanguagemenu_pi1
10{
languagesUidsList = 0,2,3
defaultLayout = 2
showLinkWithFlag = 0
showCurrent = 1
}
但菜单只显示“英语”。 这是确切的标志:
<div class="tx-srlanguagemenu-pi1">
<div class="CUR"><img src="typo3/gfx/content_client.gif" alt="" style="width:7px; height:10px;"><a href="index.php?id=46">English</a></div>
<div class="SPC"> </div> <div class="INACT"></div>
<div class="SPC"> </div> <div class="INACT"></div>
</div>
Also. In the menu, the name of the pages doesn t show the translated version.
我做了什么错误?