Hallo liebe Community,
ich habe ein Problem mit meinem TYPO3 4.2.2 System. Ich möchte die Seite auf zwei Sprachen haben. Deutsch die standart Sprache und Englisch halt eine erweiterte. Bei der Mehrsprachigkeit habe ich mich für die Methode entscheiden für jede Seite einen egnlischen Text mit anzuhängen. Ich denke das das auch die bekannteste Methode ist. Beispiel: gibt man nun index.php?id=3&L=1 ein sollte die englische Übersetzung angezeigt werden.
Gebe ich jedoch nun den genannten URLtext ein, ändern sich zwar die Seiteneigenschaften. Also die Links in der Navigation bekommen die englische Bezeichnung, jedoch ändert sich der Text nicht. ICh poste euch mal mein TS-Code vielleicht könnt ihr mir je helfen.
Liebe Grüße
ich habe ein Problem mit meinem TYPO3 4.2.2 System. Ich möchte die Seite auf zwei Sprachen haben. Deutsch die standart Sprache und Englisch halt eine erweiterte. Bei der Mehrsprachigkeit habe ich mich für die Methode entscheiden für jede Seite einen egnlischen Text mit anzuhängen. Ich denke das das auch die bekannteste Methode ist. Beispiel: gibt man nun index.php?id=3&L=1 ein sollte die englische Übersetzung angezeigt werden.
Gebe ich jedoch nun den genannten URLtext ein, ändern sich zwar die Seiteneigenschaften. Also die Links in der Navigation bekommen die englische Bezeichnung, jedoch ändert sich der Text nicht. ICh poste euch mal mein TS-Code vielleicht könnt ihr mir je helfen.
Code:
# Pagedefinition
page = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/5/"]PAGE[/URL]
page {
typeNum = 0
10 = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/22/"]USER[/URL]
10.[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3527077"]userFunc[/URL] = tx_templavoila_pi1->main_page
config.index_enable = 1
config.index_externals = 1
config.metaCharset = utf-8
# Favicon
shortcutIcon = fileadmin/template/favicon.png
stylesheet = fileadmin/template/css/stylesheet.css
}
lib.news < tmp.LATEST_NEWS
lib.header = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/6/"]IMAGE[/URL]
lib.header.altText = Headergrafik
lib.header.file.XY = 510,149
lib.header.file = fileadmin/template/images/header.jpg
lib.headline = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/3/"]TEXT[/URL]
lib.headline.data = page:title
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].htmlSpecialChars = 1
plugin.tx_felogin_pi1.templateFile = fileadmin/template/template_login.html
lib.seitenbaum=[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/"]HMENU[/URL]
lib.seitenbaum.special=rootline
lib.seitenbaum.special.range= 0 | -1
lib.seitenbaum.1=[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/7/"]TMENU[/URL]
lib.seitenbaum.1.[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/2/"]NO[/URL].allWrap= | / |*| | / |*| |
lib.seitenbaum.1.[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/2/"]NO[/URL].wrap =Sie sind hier: |
config {
doctype = xhtml_trans
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
index_enable = 1
admPanel = 0
htmlSpecialChars = 1
no_cache = 0
uniqueLinkVars = 1
}
plugin.tt_news.displaySingle.subheader_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].wrap =
plugin.tt_news.displaySingle.date_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].strftime = %d.%m.%y
plugin.tt_news.displaySingle.title_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].wrap =
plugin.tt_news.displaySingle.caption_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].wrap =
plugin.tt_news.displaySingle.author_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].case =
plugin.tt_news.displayList.date_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/"]stdWrap[/URL].strftime = %d.%m.%Y
[[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526717"]usergroup[/URL] = *]
lib.flagge = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/3/"]TEXT[/URL]
lib.flagge {
value = Abmelden
wrap = <b> | </b>
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/8/"]typolink[/URL].parameter = 1
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/8/"]typolink[/URL].additionalParams = &logintype=logout
}
[global]
lib.counter = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/3/"]TEXT[/URL]
lib.counter < plugin.tx_cscounter_pi1
plugin.tx_cscounter_pi1 = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/22/"]USER[/URL]_INT
plugin.tx_cscounter_pi1 {
minDigits = 3
id = 1
noReload = 1
textOnly = 1
wrap = <p>Sie sind der <b>|.</b> Besucher</p>
showSince = 0
}
config {
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL] = de
locale_all = de_DE
htmlTag_langkey = de
sys_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL]_mode = content_fallback
linkVars = L
sys_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL]_uid = 0
}
[globalVar = GP:L=0]
config {
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL] = de
locale_all = de_DE
htmlTag_langkey = de
sys_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL]_mode = content_fallback
sys_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL]_uid = 0
}
[global]
[globalVar = GP:L=1]
config {
[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL] = en
locale_all = en_EN
htmlTag_langkey = en
sys_[URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526377"]language[/URL]_uid = 1
}
[global]
lib.change = [URL="https://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/3/"]TEXT[/URL]
lib.change {
wrap = © TOC - Seite aktualisiert am |
data = register:SYS_LASTCHANGED
date = j.n.Y
lang.en = n/j/Y
}
Liebe Grüße