| 171 | | /*$AVAIL_LOCALE_ARRAY = array('fr' => 'Français', |
| 172 | | 'en' => 'English', |
| 173 | | 'de' => 'Deutsch', |
| 174 | | 'pt' => 'Português'); |
| 175 | | */ |
| 176 | | /** |
| 177 | | * A lot of linux distributions (Debian, BSD and Mac OS X) use locales like this: |
| 178 | | */ |
| 179 | | //$AVAIL_LOCALE_ARRAY = array('fr_CA' => 'Français', |
| 180 | | // 'en_US' => 'English', |
| 181 | | // 'de_DE' => 'Deutsch', |
| 182 | | // 'pt_PT' => 'Português'); |
| 183 | | |
| 184 | | /** |
| 185 | | * Other linux distributions (Ubuntu, Mandriva 10.1) use locales like this: |
| 186 | | */ |
| 187 | | $AVAIL_LOCALE_ARRAY = array('fr_CA.UTF8' => 'Français', |
| 188 | | 'en_US.UTF8' => 'English', |
| 189 | | 'de_DE.UTF8' => 'Deutsch', |
| 190 | | 'pt_PT.UTF8' => 'Português'); |
| | 171 | |
| | 172 | /** |
| | 173 | * Array of available languages for the user. Each entry must have: |
| | 174 | * -The language code (the part before the _) be present in wifidog/locales |
| | 175 | * -Have the entire locale available in your system locale |
| | 176 | * OR |
| | 177 | * -Have a system locale available with only the language (ex: an en locale). |
| | 178 | * Note that if you specify en_UK and en_US, and have only en available the |
| | 179 | * system will NOT warn you that both will have identical results. |
| | 180 | * Note that even if your system uses locales like fr_CA.UTF8, you do not need |
| | 181 | * to change this, ifidog will translate for you. |
| | 182 | * @TODO: Setting an array of only one entry should disable the language select |
| | 183 | * box. |
| | 184 | */ |
| | 185 | $AVAIL_LOCALE_ARRAY = array('fr_CA' => 'Français', |
| | 186 | 'en_US' => 'English', |
| | 187 | 'de_DE' => 'Deutsch', |
| | 188 | 'pt_PT' => 'Português'); |
| 196 | | * Define the default language of the WiFiDOG auth server. |
| 197 | | * |
| 198 | | * Remember to change this value to a valid locale, i.e.: |
| 199 | | * - fr |
| 200 | | * - fr_CA |
| 201 | | * - fr_CA.UTF8 |
| 202 | | */ |
| 203 | | define('DEFAULT_LANG', 'fr_CA.UTF8'); |
| | 194 | * Define the default language of the WiFiDOG auth server. The language code |
| | 195 | * (the part before the _) must be part of the array above (the country |
| | 196 | * subcode may differ, and should be set to your country subcode) |
| | 197 | */ |
| | 198 | define('DEFAULT_LANG', 'fr_CA'); |