[TYPO3-german] Menu 2 sprachig

Joachim Streit jstreit at ditnetwork.de
Thu Dec 7 14:34:01 CET 2006


Dennis Schulz schrieb:
> Hallo Joachim,
> 
> [TYPO3-english] sagt dazu:
> [TYPO3] bilingual menus on a single page:
> 
>  >Hey,
>  >
>  >I have a website which needs to have English and Spanish navigation 
>  >menus on one page. I really do not have any idea how to achieve this. 
>  >Can any of you give an hint please?
>  >
>  >Thanks in advance!
>  >Rocky
> ###################################################
> 
>  >My idea is, set the sys_language hard coded directly before each Menu.
>  >
>  >Example:
>  >config.sys_language_uid = 0
>  >temp.germanMenu = HMENU
>  >temp.germanMenu.10 = TMENU
>  >...
>  >
>  >config.sys_language_uid = 1
>  >temp.englishMenu = HMENU
>  >...
> 
>  >page.marks.GERMANMENU < temp.germanMenu
>  >page.marks.ENGLISHMENU < temp.englishMenu
> 
> 
>  >No guaranties it is just an idea.
> #################################################################
> 
> 
> Probier das doch einmal.
> 
> 
> Grüße
> 
> Dennis
> 
>  
Hallo Dennis,
danke für die Antwort, leider funktioniert das nicht das sich die Angabe 
überschreibt.

[GLOBAL]
config.sys_language_uid = 3
lib.leften = COA
lib.leften.wrap = <div class="manufacttableen">|</div>
lib.leften{

10 = HMENU
10 {
	 special = directory
	 noBlur = 1
	 special.value = 10
	 wrap = |

	 1 = TMENU
	 1.noBlur = 1
	 1{
		 NO {
		  allWrap =  <div class="td-1">|</div>
		   }
		 ACT = 1
		 ACT {
		  allWrap =  <div class="td-1"><strong>|</strong></div>
		 }
	   }
	}
}
[END]


[GLOBAL]
config.sys_language_uid = 0
lib.left = COA
lib.left.wrap = <div class="manufacttablede">|</div>
lib.left{

10 = HMENU
10 {
	 special = directory
	 noBlur = 1
	 special.value = 10
	 wrap = |

	 1 = TMENU
	 1.noBlur = 1
	 1{
		 NO {
		  allWrap =  <div class="td-0">|</div>
		   }
		 ACT = 1
		 ACT {
		  allWrap =  <div class="td-0"><strong>|</strong></div>
		 }
	   }
	}
}
[END]


So bekomme ich leider nur die sys_language_uid = 0
angezeigt ....

Verzweifel ...








More information about the TYPO3-german mailing list