Default language for domain with Typo3

I just figured out how to configure a default language for multiple domains in Typo3 with TypoScript. Its pretty easy actually – no fuss with realUrl. It checks for the HTTP_HOST when no L Parameter is set:

# Default language, sys_language.uid = 0
config {
sys_language_uid = 0
language = en
htmlTag_langKey = en
locale_all = en_US.UTF-8
}
[globalVar= GP:L=1] || [globalString= IENV:HTTP_HOST=*.de, IENV:HTTP_HOST=*.ch, IENV:HTTP_HOST=*.at] && [globalVar = GP:L=]
config {
sys_language_uid = 1
language = de
htmlTag_langKey = de
locale_all = de_CH.UTF-8
language_alt = en
}
[global]

Check out the Snippet at typo3.org