[TYPO3] easier way to do translations for pages
Tomas Mrozek
mail at cascaval.com
Sat Sep 22 14:28:28 CEST 2007
I think that you are basically looking for a language menu
(special=language).
EXAMPLE:
-------
subparts.JAZYKY = HMENU
subparts.JAZYKY.special = language
subparts.JAZYKY.special.value = 0,1
subparts.JAZYKY.1 = TMENU
subparts.JAZYKY.1.noBlur = 1
subparts.JAZYKY.1 {
NO.stdWrap.cObject = HTML
NO.stdWrap.cObject.value = <img src="[path]" alt="[text]" title
="[text]" width="20" height="13" /> || <img src="[path]" alt="[text]"
title ="[text]" width="20" height="13" />
ACT < .NO
ACT = 1
ACT.doNotShowLink = 1
USERDEF1 < .NO
USERDEF1 = 1
USERDEF1.doNotLinkIt = 1
USERDEF1.allWrap = <a href="/">|</a> || <a href="en/">|</a>
}
This is just for two languages but you can add as many as you please.
Take it as a start and modify so that it fits your requirements.
Tomas Mrozek
More information about the TYPO3-english
mailing list