[TYPO3-german] Problem mit Mehrsprachigkeit

Christian Leicht usenet at schani.com
Mon Apr 24 14:15:43 CEST 2006


Stefan Bothner | [m]zentrale schrieb:
> Hi,
> 
> hast du auch schon eine Language-Condition in deinem TS?
> 
> Sowas:
> 
> config.linkVars = L
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.htmlTag_langKey = EN
> [global]
> 
> Gruss
> 
> Ford



Hallo, ich habe mal die wichtigen Punkte meines TS rauskopiert:
Menüs und sonstiges habe ich weggelassen.

==================================================
#Standardsprache deutsch wird festgelegt
config.sys_language_uid = 0
config.language = de
config.htmlTag_langKey = DE
config.locale_all = de_DE

config.linkVars = L

[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.htmlTag_langKey = EN
[global]

page = PAGE
page.typeNum = 0
page {

         10 = TEMPLATE
         10.template = FILE
         10.template.file = fileadmin/vorlagen/neu/vorlage_neu.tmpl
         10.workOnSubparts = DOKUMENT

    10.marks {
            ###INHALT###
            INHALT = CONTENT
            INHALT {
                 table = tt_content
                 select.orderBy = sorting
                 select.where = colPos = 0
                 select.languageField = sys_language_uid
                 }

             ###CONTENT_RECHTS###
             CONTENT_RECHTS = CONTENT
             CONTENT_RECHTS {
                 table = tt_content
                 select.orderBy = sorting
                 select.where = colPos = 2
                 select.languageField = sys_language_uid
                 }


             SPRACHE= PHP_SCRIPT
             SPRACHE {
                 file = fileadmin/vorlagen/neu/my_languageMenu.php
                 }
             }
}
==================================================

Die L=0 und L=1 werden angehängt und weitergereicht.

Es ist eine zusätzliche Sprache in der Weltkugel angelegt und auch im 
Verzeichnisbaum sind Inhalte hinterlegt. Also Links Default und Rechts 
English.

Aber es wird nur der Default(Deutsch) angezeigt.

Kann ich was bei anlegen der Inhalte vergessen haben ?
Was ist wenn keine Übersetzung hinterlegt ist ?
Was ist wenn in einem Shortcut keine Übersetzung hinterlegt ist ?

Besten Dank für Hilfe

Christian









More information about the TYPO3-german mailing list