You will have to do something like do a route re-write and redirect them to different content OR set a variable:
Example:
switch ($_SERVER['HTTP_HOST']) {
case 'domain.fr': $route['default_controller'] = "french"; break;
case 'domain.org': $route['default_controller'] = "spanish"; break;
default: $route['default_controller'] = "english"; break;
}
My example illustrates with controllers but you can set the
$config['language'] = 'english';
to something else (override the config.php
)