Hallo Leute,
erstelle gerade eine Seite, die in Deutsch, Englisch und Ungarisch laufen soll.
Nun habe ich das gleiche Phänomen wie in diesem Beitrag: #109498
Die Lösung im letzten Eintrag kann ich im Mmoent nicht nachvollziehen, da ich nicht weiß wie ich den letzten Schritt aufrufe.
Mein Config - Script sieht so aus:
config {
admPanel = 0
headerComment (
This site was created by:
...
...
)
doctype = html5
//xhtmlDoctype = xhtml_trans
xhtml_cleaning = all
xmlprologue = none
compressCss = 1
concatenateCss = 1
disablePrefixComment = 1
index_enable = 1
baseURL = http://metaplast.factory-system.de/
spamProtectEmailAddresses = ascii
spamProtectEmailAddresses_atSubst = (at)
removeDefaultJS = external
inlineStyle2TempFile = 1
noScaleUp = 1
meaningfulTempFilePrefix = 50
linkVars = L
sys_language_uid = 0
language = de
locale_all = de_DE
htmlTag_langKey = de_DE
}
#
# Alternate Language Settings
#
// Language Englisch
[globalVar = GP:L = 1]
config.linkVars = L
config.sys_language_uid = 1
config.language = en
config.locale_all = en_GB
config.htmlTag_langKey = en_GB
[global]
// Language Niederländisch
[globalVar = GP:L = 2]
config.linkVars = L
config.sys_language_uid = 2
config.language = hu
config.locale_all = hu_HU
config.htmlTag_langKey = hu_HU
[global]
// CoolURI aktivieren
config.tx_cooluri_enable = 1
config.redirectOldLinksToNew = 1
# Conditional Coments fuer das HTML Tag
config.html5boilerplate.htmlTag (
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="de"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="de"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="de"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="de"> <!--<![endif]-->
)
##########################################################
# CSS Styled Content fuer Responsive Layout anpassen
tt_content.image.20 {
imageStdWrap.dataWrap = <div class="csc-textpic-imagewrap"> | </div>
imageColumnStdWrap.dataWrap = <div class="csc-textpic-imagecolumn"> | </div>
}
tt_content.image.20 {
rendering {
dl {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow"> | </div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> | </div>
oneImageStdWrap.dataWrap = <dl class="csc-textpic-image###CLASSES###" > | </dl>
}
ul {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow"><ul> | </ul></div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last"><ul> | </ul></div>
oneImageStdWrap.dataWrap = <li class="csc-textpic-image###CLASSES###"> | </li>
}
div {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow"> | </div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> | </div>
oneImageStdWrap.dataWrap = <div class="csc-textpic-image###CLASSES###"> | </div>
}
simple {
imageStdWrap.dataWrap = <div class="csc-textpic-imagewrap csc-textpic-single-image"> | </div>
}
}
}
tt_content.image.20 {
renderMethod = figure
rendering {
figure {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow"> | </div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> | </div>
noRowsStdWrap.wrap =
oneImageStdWrap.dataWrap = <figure class="csc-textpic-image"> | </figure>
imgTagStdWrap.wrap = |
editIconsStdWrap.wrap = <div> | </div>
caption.wrap = <figcaption> | </figcaption>
caption.required = 1
}
}
}
Komischerweise werden die Links mit eingeschaltetem CoolURI für
Deutsch: http://metaplast.factory-system.de/startseite.html
Englisch: http://metaplast.factory-system.de/en/home.html
Ungarisch: http://metaplast.factory-system.de/otthon.html?L=2
so dargestellt. Warum macht er eigentlich bei Englisch ../en/home.htl und bei Ungarisch /otthon.html?L=2?
OHNE CoolURI so:
Deutsch: http://metaplast.factory-system.de/index.php?id=4
Englisch: http://metaplast.factory-system.de/index.php?id=4&L=1
Ungerisch: http://metaplast.factory-system.de/index.php?id=4&L=2
Also eigentlich richtig.
Ja, die Texte sind übersetzt. Es sollte bei Englisch [Translate to English:] Ihr führ.... und bei Ungarisch [Translate to Hungarian:] Ihr führ... erscheinen.
Das Template basiert auf YAMB nach Anleitng von WOWA, echt Super die Videos, bis jetzt hat immer alles funktioniert, was ich mir dort angesehen habe. Typo3 Version 4.5.15, geht nur die Version, da bei 1und1 nur PHP 5.2.17 verfügbar ist. #angry# Ich weiß 1und1, macht man nicht usw. Geht nicht anders!!!! Zumindestens im Moment. :o
Kann mir da jemand helfen? Wäre echt Super.
ZHermann