Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

Chapter 1. EXT: Language Selection based on domain

Extension Key: icti_language_on_domain

Copyright 2007, jaguerra@icti.es, <jaguerra@icti.es>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

1.1. Introduction

Thanks

This extension is a little variation of “rlmp_language_detection” written by Robert Lemke. Actually this extension is using 99% of code and documentation from the Robert's one, so please thank and support him instead than me if you feel in need of.

What does it do?

This small extension allows to automatically select a language based on the website domain name (HTTP_HOST).

This is so useful if you have a multilingual website with more than one domain name and you'd like to select the default language depending on the domain the user is using on its browser.

In case that a domain/language match the current page will be reloaded and the appropriate language will be set by using the "L" parameter.

Alternatively the multiple-tree concept for multi-langual websites may be used. In that case the visitor will be redirected to a certain page which acts as an entry page for the preferred language.