Originally by Jérôme Jaglale.
Fork by MetaStudio has the following features:
- Can use standalone hostnames (not just URI segments) to determine current language
The original documentation is maintained by creator at http://maestric.com/doc/php/codeigniter_i18n.
-
Add into your system/application/config/config.php lines identifying base URL for your translation sites:
$config['base_url_ru'] = "http://metastudio.ru/"; $config['base_url_en'] = "http://metastudiohq.com/";
-
Enable the host mode in MY_Language.php:
var $host_mode = true;
-
Enjoy 8)