[TYPO3] default language title in lang selector
Stano Paška
stano.paska at gmail.com
Tue Dec 12 13:50:14 CET 2006
I looked at that class, because I must find solution soon.
I found a incorrect configuration in my settings (I define
defaultCountryISOCode, but in static_languages table Slovakia has only
empty string...)
So now plugin displays all three languages.
Later I find mistakes in documentation.
In manual is described only "showCurrent" property, but in code it
checks "list.showCurrent"...
And showCurrent is implemented only in selection list layout.
I think that I write it without sr_language_menu, only with conditions in TS.
Stano.
On 12/12/06, Francois Suter <fsuter at cobweb.ch> wrote:
> Hi,
>
> > Yes, I have this
> > config {
> > doctype = xhtml_trans
> > uniqueLinkVars = 1
> > xhtml_cleaning = 1
> > noPageTitle = 2
> > disablePrefixComment = 1
> > sys_language.uid = 0
> > language = sk
> > locale_all = sk_SK
> > htmlTag_langKey = sk
> > }
> >
> > [globalVar = GP:L = 1]
> > config.sys_language_uid = 1
> > config.language = en
> > config.locale_all = en_EN
> > htmlTag_langKey = en
> > [END]
> >
> > [globalVar = GP:L = 2]
> > config.sys_language_uid = 2
> > config.language = de
> > config.locale_all = de_DE
> > htmlTag_langKey = de
> > [END]
>
> This looks good. I'm afraid I have no other idea.
>
> I'm supposed to make a couple of corrections to sr_language_menu, but
> I don't have any time for it right now. This is probably linked to
> how the name of the default language is looked up, but I just can't
> dig into that now. If you have time (and knowledge of PHP), you can
> look into the class.tx_srlanguagemenu_pi1.php class.
>
> HTH
>
> François Suter
> Directeur technique
> -----------------------------------------------------
> Cobweb Development Sàrl
> www.cobweb.ch
> -----------------------------------------------------
>
> _______________________________________________
> 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