[Typo3] domain and language
Juraj Benadik
gastan at gastan.sk
Wed Sep 28 17:05:00 CEST 2005
Dmitry Dulepov wrote:
> Hi!
>
> Juraj Benadik wrote:
>
>>Is it possible to use language depending on subdomain without forwarding?
>
>
> I would try to play in TS setup with conditional directives on host
> name. Not sure about the right syntax but idea is:
>
> config.language=en
> config. .....
> [globalVar: _SERVER:HOST_NAME = 'ar.domain.tld']
> config.language=ar
> config. .....
> [global]
>
> See if it helps...
>
> Dmitry.
It works like this:
[globalString = HTTP_HOST = subdomain.domain.tld]
# German mit L=1
config.sys_language_uid = 1
config.language = de
config.locale_all = de_DE
[global]
Any idea how to modify GP:L, so I can handle languages at one place only ?
THX
--G
More information about the TYPO3-english
mailing list