[Typo3] one-tree multilanguge site

Jane Larsen noesgard at gmail.com
Tue Mar 8 13:40:44 CET 2005


Hi 
Thank you for your mail, very constructive :o)

I haven't yet found the: +ext Template Where should I look?

This is whats in my template analyzer:

frameset; left-page              
styles.content (default)              
styles.sitemap.text              
styles.header.gfx1              
content (default)              
plugin.meta [DEPRECIATED]              
template; BUSINESS              
cSet (default)              
styles.sitemap.gs              
tt_guest              
mininews              
tt_board              
rlmp_tmplselector   

Sincerely, 
Jane

On Tue, 08 Mar 2005 12:40:55 +0100, Florian Schaeffer
<florian.schaeffer at mercoline.de> wrote:
> Hi Jane,
> 
> > I don't know where to put the code indicated by the 2 guides (is the
> > setup TS the right place?) and I haven't had any luck showning a
> > language menu.
> 
> Yes you are right, the code should be placed in the main template setup
> 
> If you want to make it like mentioned in the tutorial, please keep in
> mind to include the +ext Template in your main template, otherwise your
> setup will not be included. You should check that in Template Tool
> (Template -> Select your template -> upper right corner Template Analyzer).
> 
> You should see something similar to this:
> 
> --styles.content (or css depends on what you're using)
> -.... different plugins
> -+ext Language
> main template
> 
> In this case all your definitions are placed in the right order and your
> page should be able to display both languages. You can try this by
> appending a simple &L=1 (or 2, depends on your language-id) to any link
> in the frontend. You should know be able to see the different language page.
> 
> Your language menu is made available as follows:
> 
> copy the langauge-script from media to your fileadmin folder or make
> sure it is in your media - folder.
> 
> Then insert a marker in your HTML-Template (I normally would call it
> ###LANGUAGE_SELECTOR###
> 
> in your page template setup you have to enable that marker:
> 
> first create a temp-object
> temp.language = PHP_SCRIPT
> temp.language.file = fileadmin/template/ext/languageMenu.php
> 
> then assign this one to your subpart
> 
> marker.LANGUAGE_SELECTOR < temp.language
> 
> That should do the trick.
> 
> HTH
> Florian
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list