2011-03-06 20:52:31 +02:00
|
|
|
<?php defined('SYSPATH') or die('No direct script access.');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Multilang module config file
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* List of available languages
|
|
|
|
*/
|
|
|
|
return array(
|
2011-06-26 01:10:42 +03:00
|
|
|
'default' => 'en', // The default language code
|
|
|
|
'cookie' => 'lang', // The cookie name
|
|
|
|
'hide_default' => FALSE, // You can hide the language code for the default language
|
|
|
|
'auto_detect' => TRUE, // Auto detect the user language on the homepage
|
|
|
|
/**
|
|
|
|
* The allowed languages
|
|
|
|
* For each language, you need to give a code (2-5 chars) for the key,
|
|
|
|
* the 5 letters i18n language code, the locale and the label for the auto generated language selector menu.
|
|
|
|
*/
|
2011-06-26 20:54:27 +03:00
|
|
|
/*
|
2011-06-26 01:10:42 +03:00
|
|
|
'languages' => array(
|
2011-03-06 20:52:31 +02:00
|
|
|
'en' => array(
|
|
|
|
'i18n' => 'en_US',
|
|
|
|
'locale' => array('en_US.utf-8'),
|
|
|
|
'label' => 'english',
|
|
|
|
),
|
|
|
|
'fr' => array(
|
|
|
|
'i18n' => 'fr_FR',
|
|
|
|
'locale' => array('fr_FR.utf-8'),
|
|
|
|
'label' => 'français',
|
|
|
|
),
|
|
|
|
'de' => array(
|
|
|
|
'i18n' => 'de_DE',
|
|
|
|
'locale' => array('de_DE.utf-8'),
|
|
|
|
'label' => 'deutsch',
|
2011-06-26 01:10:42 +03:00
|
|
|
),
|
2011-03-06 20:52:31 +02:00
|
|
|
),
|
2011-06-26 20:54:27 +03:00
|
|
|
*/
|
2011-03-06 20:52:31 +02:00
|
|
|
);
|