[TYPO3-english] Re: Re: Typo 4.5 to 6.2 upgrade eng language translation not working

Malwinder Singh malwinder.singh at softobiz.com
Mon Apr 6 15:24:25 CEST 2015


Actually the issue look in typo script that is included in base template. The typo script is as follow:-
It is not translating english



tmp.die_navigation = HMENU
tmp.die_navigation {


  entryLevel = 0
  excludeUidList = 3
  1 = TMENU
  1 {
      expAll = 0
      wrap = <ul class="level_1">|</ul>
      noBlur = 1
      
			NO {
											 # hier nicht verlinken, ansonsten bekommt man doppelte <a> tags
				doNotLinkIt = 1
				wrapItemAndSub=<li>|</li>
				stdWrap.cObject = CASE
				stdWrap.cObject {
					key.field = doktype
					default = TEXT
					default {
						typolink.parameter.field = uid
						field = nav_title // title
						stdWrap.htmlSpecialChars = 1
						#typolink.title.cObject=TEXT
						#typolink.title.cObject.field=title
					}
					
					# 4 = shortcut
					4 = TEXT
					4 {
						field = title
						typolink.parameter.field = shortcut
						#typolink.title.cObject=TEXT
						#typolink.title.cObject.field=title
					}
					
					# 3 = external url
					3 = TEXT
					3 {
						field = title
						typolink.parameter.field = url
						typolink.extTarget.field = target
						#typolink.title.cObject=TEXT
						#typolink.title.cObject.field=title
					}
				}
			}
      
      #NO.wrapItemAndSub = <li>|</li>
      NO.ATagTitle.field = nav_title // title

      ACT = 1
      ACT {
        wrapItemAndSub = <li>|</li>
        ATagParams = class="aktiv"
      }
      
      #IFSUB = 1
      #IFSUB.ATagTitle.field = title
      #IFSUB.wrapItemAndSub = <li>|</li>
      #ACTIFSUB < .IFSUB

    }
      
    2 < .1
    2 {
      wrap = <ul class="level_2">|</ul>
			NO.ATagTitle.field = nav_title // title
      ACT = 1
      ACT {
        wrapItemAndSub = <li>|</li>
        ATagParams = class="aktiv_2"
      }
      
    }
    
    3 < .1
    3 {
      wrap = <ul class="level_3">|</ul>
      NO.ATagTitle.field = nav_title // title
      ACT = 1
      ACT {
         wrapItemAndSub = <li>|</li>
         ATagParams = class="aktiv_3"
       }
    }
}


More information about the TYPO3-english mailing list