[TYPO3-english] Language switch error

Alessandro Tuveri at at uniud.it
Fri May 10 14:15:28 CEST 2013


Hi
next time check your code via backend
it is quite easy discover this kind of error using the template analyzer....

have fun....

iQuoting Simone Paolinelli <paolinelli at mediaus.it>:

> SOLVED!
>
> In ts i missed a brace before the config section and the conditions  
> [global give me an error.
>
> page.headerData {
>     10 = TEXT
>     10.value (
>   <!--[if (gte IE 6)&(lte IE 8)]>
>   <script type="text/javascript" src="js/selectivizr-min.js"></script>
>   <![endif]-->
>   )
> } <-------------- This was missed
>
> config {
>   sys_language_mode = content_fallback
>   sys_language_overlay = 1
> }
>
> [globalVar = GP:L=0]   <--------------  This was ignored
> config.sys_language_uid = 0
> ...
>
>
> Thanks for your help!
>
> Simone
>
>
>
>
>
>
> Il 10/05/2013 10:20, Alessandro Tuveri ha scritto:
>> OK this is the language:
>>
>>> 1 = English
>>> 2 = Francaise
>> then default record, I suppose, is English (L=0) the 2nd is French (L=1).
>>
>> You must configure TYPO3 using TS and add the equivalent snippet for the
>> 2nd language
>>
>> [globalVar = GP:L=1]
>>
>> .... copy and paste the code for L=0
>> and adapt it to the new language (charset, locale, etc.)
>>
>> [global]
>>
>>
>> depending on your TYOP3 version for each page you should create the
>> translation page for each language used.
>>
>> i.e. home page is ENGLISH
>> create the page (depending on ENGLISH page) adding the record via BACKEND
>> then localize the content....
>>
>> all is working fine if the uid of the language record is the same used
>> within
>> 'globalVar ='. To check if it is right go to the BACKEND ad rollover the
>> flag ...
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>> Il 09/05/2013 22:41, Alessandro Tuveri ha scritto:
>>>>
>>>>
>>>> for the 2nd, 3rd etc. language, ie:
>>>>
>>>> [gliobalVar = GP:L=1]    <---- 1 could be english .... or something
>>>> else...
>>>>
>>>> then check if you have created the record for the 2nd language in the
>>>> root of your site...
>>>>
>>>>
>>>>
>>>> ALESSANDRO TUVERI
>>>>
>>>> --------------------------------------
>>>> AREA SERVIZI INFORMATICI E MULTIMEDIALI
>>>> Servizi WEeb d'Ateneo
>>>> Universit? degli Studi di Udine
>>>> tel. ufficio 0432-558904
>>>> --------------------------------------
>>>> Homo sine pecunia est imago mortis
>>>> --------------------------------------
>>>>
>>>> ----------------------------------------------------------------------
>>>> SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine
>>>>
>>>>
>>>
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>
>>
>>
>>
>> ALESSANDRO TUVERI
>>
>> --------------------------------------
>> AREA SERVIZI INFORMATICI E MULTIMEDIALI
>> Servizi WEeb d'Ateneo
>> Universit? degli Studi di Udine
>> tel. ufficio 0432-558904
>> --------------------------------------
>> Homo sine pecunia est imago mortis
>> --------------------------------------
>>
>> ----------------------------------------------------------------------
>> SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine
>>
>>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



ALESSANDRO TUVERI

--------------------------------------
AREA SERVIZI INFORMATICI E MULTIMEDIALI
Servizi WEeb d'Ateneo
Universit? degli Studi di Udine
tel. ufficio 0432-558904
--------------------------------------
Homo sine pecunia est imago mortis
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine




More information about the TYPO3-english mailing list