[TYPO3] default language title in lang selector
Francois Suter
fsuter at cobweb.ch
Tue Dec 12 10:38:12 CET 2006
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
-----------------------------------------------------
More information about the TYPO3-english
mailing list