[Typo3-dev] name of default language - can't find post

Robert Lemke robert at typo3.org
Fri Dec 10 14:46:17 CET 2004


Hi Martin,

Martin T. Kutschker wrote:

> Kasper posted some time ago how to name the default language. So that
> it's not "Default" but eg "English" or "Deutsch".
> 
> I'm sure Kasper did post but I cannot find the post nor find the option
> in the docs.

Hmm, did he really post it? 

> Habe I been dreaming?

No, it exists! I created some TSconfig for that but I'm not very satisfied
with it so I will probably change that in the future. That's why it is not
very official yet (I thought at least).

> PS: Any way to set the iso code and flag icon for the default language?
> PPS: If there's no way - how about forcing a default record with id 0?

In some root page, use this Page TSconfig:

mod.SHARED.defaultLanguage {
   title = Deutsch
   flag = de.gif
}

But be warned, I will possibly change it (or at least add some parameter for
selecting the ISOcode, too).

-- 
robert




More information about the TYPO3-dev mailing list