[TYPO3-english] Switch language for single site in backend

Tomas Havner tomas.havner at kansli.lth.se
Wed Aug 26 10:14:44 CEST 2009


Thank you Xavier.

Found it http://bugs.typo3.org/view.php?id=10432.

This patch is for Typo3 4.3. Could you apply it on 4.2 and 4.1?

Tomas


"Xavier Perseguers" <typo3 at perseguers.ch> skrev i meddelandet 
news:mailman.1.1251214576.20121.typo3-english at lists.netfielders.de...
> Hi,
>
>> I have a Typo3-installation with a lagre number of websites. The 
>> default-language is swedish and the alternative language is english. 
>> Normally this is no problem. But now one of the sites wants to have 
>> english as default language and english as alternative. When a user makes 
>> a page it should be in english and the translation in swedish.
>>
>> I have added swedish as a website language and I have put
>>
>> mod.SHARED {
>> defaultLanguageFlag = gb.gif
>> defaultLanguageLabel = English
>> }
>>
>> in tsconfig which changes the default language label and language. But 
>> when I make a translation to swedish i get a english flag and in the 
>> "Make new translation of this page-menu " I have english and swedish!
>
> I made a patch once to add a new option to pageTS to deactivate a language 
> on a tree-base. Exactly what you need and exactly why I made this patch 
> for. I cannot remember the RFC number but it was committed (to trunk 
> IIRC). It allows you to do this:
>
> mod.SHARED {
>     disableLanguages = 2
> }
>
> where disableLanguages is a comma-separated list of languages to be 
> disabled.
>
> Search for this in this list and you'll find the according RFC if you 
> don't have this option (yet) in your TYPO3 install. It was a relative 
> small patch which was applied both to Core and to TemplaVoilà as the 
> handling is overriden by TemplaVoilà meaning this works regardless of 
> whether you use TV or not.
>
> Regards
>
> -- 
> Xavier Perseguers
> MVC ExtJS Leader
>
> http://forge.typo3.org/projects/show/extension-mvc_extjs 




More information about the TYPO3-english mailing list