---
title: "Introduction Package weitere Sprache hinzufügen"
url: "https://www.typo3.net/d/117722-introduction-package-weitere-sprache-hinzufuegen"
source: "typo3.net"
tags: ["TYPO3","Mehrsprachigkeit","Frage","RealURL","TYPO3 4.x"]
created: "2014-03-24"
last_reply: "2014-03-26"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Introduction Package weitere Sprache hinzufügen

TYPO3 › Mehrsprachigkeit · 1 Antwort · gestartet 2014-03-24

## Eröffnungsbeitrag

**OmaHerta** · 2014-03-24 · [Beitrag #1](https://www.typo3.net/d/117722-introduction-package-weitere-sprache-hinzufuegen/1)

Hallo Gemeinde,
ich möchte in eine Seite, welche auf dem Introduction-Package aufgebaut ist, weitere Sprache hinzufügen: ungarisch. Habe nun bereits alle Einstellungen wie in diesem Post erläutert, durchgeführt und mehrfach geprüft:

[/d/103452-sprachauswahl-im-header-topmenu-mit-drei-sprachen-introduction-package](https://www.typo3.net/d/103452-sprachauswahl-im-header-topmenu-mit-drei-sprachen-introduction-package)

Meine Config sieht nun wie folgt aus:

menu.language

```typoscript
menu.language = HMENU

# We use a condition to show the language menu only on the page with the id from constant contentpage.examplelanguagesID
[globalVar = TSFE:id = {$contentpage.examplelanguagesID}]

menu.language {
  special = language
  special.value = 0,1,2
  1 = TMENU
  1 {
    wrap = <ul>|</ul>
    
    # Remove the (old) default behaviour which adds onfocus="blurLink(this);" to all links
    noBlur = 1
    
    NO = 1
    NO {
      # Override the standard menu item value (which is the page title) with our own cObject
      stdWrap.cObject = TEXT
      
      # Use the TypoScript option split function to display different values for the first and second item
      stdWrap.cObject.value = {$contentpage.language1} || {$contentpage.language2} || {$contentpage.language3}
      allWrap = <li>|</li>
    }
    
    ACT < .NO
    ACT {
      ATagParams = class="active"
    }
  }
}

[global]
```

page.config

```typoscript
// URL Settings
  tx_realurl_enable       = 1
  simulateStaticDocuments = 0

  // Language Settings
  uniqueLinkVars        = 1
  linkVars              = L(1)
  sys_language_uid      = 0
  sys_language_overlay  = 1
  sys_language_mode     = content_fallback
  language              = de
  locale_all            = de_DE.UTF-8
  htmlTag_langKey       = de

# Set baseURL setting for http or https
config.baseURL = http://{$config.domain}/
[globalString = IENV:TYPO3_SITE_URL=https://{$config.domain}/]
config.baseURL = https://{$config.domain}/
[global]

// Condition to switch the doctype and xml prologue
[browser = msie] && [version = <7]
config {
  doctypeSwitch = 1
}
[global]

// Condition to set language according to L POST/GET variable
[globalVar = GP:L = 1]
config {
  htmlTag_langKey = en
  sys_language_uid = 1
  language = en
  locale_all = en_US
}
[global]

[globalVar = GP:L = 2]
config {
  htmlTag_langKey = hu
  sys_language_uid = 2
  language = hu
  locale_all = hu_HU
}
[global]
```

root.Template

```typoscript
  # cat=contentpage; type=int+; label= examplelanguagesID: UID of the page which has the language menu enabled
  examplelanguagesID = 6
  
  # cat=contentpage; type=string; label= language1: name of the default language of this site
  language1 = Deutsch

  # cat=contentpage; type=string; label= language2: name of the second language of this site
  language2 = English
  
  # cat=contentpage; type=string; label= language3: name of the second language of this site
  language3 = Magyar
}

# Set the language of meta tag with DC.language to German, when in German
[globalVar = GP:L = 1]
plugin.meta.language = de
[global]

[globalVar = GP:L = 2]
plugin.meta.language = hu
[global]

mod.SHARED.defaultLanguageLabel = Deutsch
mod.SHARED.defaultLanguageFlag = de.gif
```

realurl_autoconf.php

```php
 'preVars' => 
    array (
      0 => 
      array (
        'GETvar' => 'L',
        'valueMap' => 
        array (
          1 => '1',
		  2 => '2',
		  3 => '3',
        ),
        'noMatch' => 'bypass',
      ),
    ),
```

Die URL wird auch jeweils mit www.domain.de/home, www.domain.de/1/home und www.domain.de/2/home angezeigt. Der Seiteninhalt in deutsch und englisch ist auch noch OK, in der 3. Sprache wird jedoch der deutsche Inhalt angezeigt, obwohl die Home-Seite bereits in ungarisch angelegt wurde.

Des weiteren wird das Sprachen-Menü auch nur auf der Home-Seite angezeigt.
Was muss ich tun, um das Sprachen-Menü immer angezeigt zu bekommen?

Nun weiß ich echt nicht mehr, wo ich noch schrauben soll...
Hoffe auf Eure Hilfe, Dankeschön schon mal!

Gruß
OmaHerta

## Antworten

### [#2](https://www.typo3.net/d/117722-introduction-package-weitere-sprache-hinzufuegen/2) · OmaHerta · 2014-03-26

Moin, moin,

hat denn keiner eine Idee oder einen Ansatz?
Ich werd´ noch verrückt, es funzt einfach net...

---

Quelle: „Introduction Package weitere Sprache hinzufügen“, typo3.net, https://www.typo3.net/d/117722-introduction-package-weitere-sprache-hinzufuegen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
