[TYPO3] getLL problem default language

Bernd Wilke xoonsji02 at sneakemail.com
Thu Oct 18 11:12:41 CEST 2007


Manuel Rego Casasnovas schrieb:
> Hello,
> 
> I have detected a problem with the function getLL when I was using the
> extension newloginbox.
> 
> The problem is that in my website the default language is spanish, and
> also exits english into the table syslanguage.
> When I navigate for my site in english, this plugin is showed in spanish
> (my default language). Really the function getLL don't return the
> english translation, return the spanish translation (my default language).
> 
> To solve this problem I have modified the locallang file copying the
> tags for the default into another tag for english.
> 
> Finally my locallang is:
> 
> <languageKey index="default" type="array">
>    <label index="oLabel_header_welcome">User login</label>
>    ...
> </languageKey>
> <languageKey index="en" type="array">
>    <label index="oLabel_header_welcome">User login</label>
>    ...
> </languageKey>
> <languageKey index="dk" type="array">
> ...
> 
> 
> And with this change, the function getLL works well.
> 
> 
> I don't know if this is the correct way to solve this problem.
> 
> 
> Best regards,
>    Rego
> 
> 
normaly you doesn't need to make an area for english, as default means 
english.

your problem seems to depend on improper setting of config.language

try the configuration of http://www.pi-phi.de/t3v4/116.html (german page!)

Bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list