root/wifidogadmin/wifidog/config_available_locales.php
| Revision 479, 3.7 kB (checked in by insultant, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ |
| 4 | |
| 5 | // +-------------------------------------------------------------------+ |
| 6 | // | WiFiDog Authentication Server | |
| 7 | // | ============================= | |
| 8 | // | | |
| 9 | // | The WiFiDog Authentication Server is part of the WiFiDog captive | |
| 10 | // | portal suite. | |
| 11 | // +-------------------------------------------------------------------+ |
| 12 | // | PHP version 5 required. | |
| 13 | // +-------------------------------------------------------------------+ |
| 14 | // | Homepage: http://www.wifidog.org/ | |
| 15 | // | Source Forge: http://sourceforge.net/projects/wifidog/ | |
| 16 | // +-------------------------------------------------------------------+ |
| 17 | // | This program is free software; you can redistribute it and/or | |
| 18 | // | modify it under the terms of the GNU General Public License as | |
| 19 | // | published by the Free Software Foundation; either version 2 of | |
| 20 | // | the License, or (at your option) any later version. | |
| 21 | // | | |
| 22 | // | This program is distributed in the hope that it will be useful, | |
| 23 | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 24 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 25 | // | GNU General Public License for more details. | |
| 26 | // | | |
| 27 | // | You should have received a copy of the GNU General Public License | |
| 28 | // | along with this program; if not, contact: | |
| 29 | // | | |
| 30 | // | Free Software Foundation Voice: +1-617-542-5942 | |
| 31 | // | 59 Temple Place - Suite 330 Fax: +1-617-542-2652 | |
| 32 | // | Boston, MA 02111-1307, USA gnu@gnu.org | |
| 33 | // | | |
| 34 | // +-------------------------------------------------------------------+ |
| 35 | |
| 36 | /** |
| 37 | * Configuration file to list the available locales in the WiFiDog Authentication Server |
| 38 | * |
| 39 | * @package WiFiDogAuthServer |
| 40 | * @author Benoit Grégoire <bock@step.polymtl.ca> |
| 41 | * @copyright 2007 Benoit Grégoire, Technologies Coeus inc. |
| 42 | * @version Subversion $Id: $ |
| 43 | * @link http://www.wifidog.org/ |
| 44 | */ |
| 45 | |
| 46 | /** Returns an array of available languages for the user. Each entry must have: |
| 47 | * -The language code (the part before the _) be present in wifidog/locales |
| 48 | * -Have the entire locale available in your system locale |
| 49 | * OR |
| 50 | * -Have a system locale available with only the language (ex: an en locale). |
| 51 | * Note that if you specify en_UK and en_US, and have only en available the |
| 52 | * system will NOT warn you that both will have identical results. |
| 53 | * Note that even if your system uses locales like fr_CA.UTF8, you do not need |
| 54 | * to change this, wifidog will translate for you. |
| 55 | */ |
| 56 | function getAvailableLanguageArray() { |
| 57 | $retval = array( |
| 58 | 'fr_CA' => array('Français', _("French")), |
| 59 | 'en_US' => array('English',_("English")), |
| 60 | 'de_DE' => array('Deutsch',_("German")), |
| 61 | 'es_ES' => array('Español',_("Spanish")), |
| 62 | 'pt_BR' => array('Português (Brasil)',_("Brazilian Portuguese")), |
| 63 | 'pt_PT' => array('Português (Portugal)',_("Portuguese")), |
| 64 | 'ja_JP' => array('æ¥æ¬èª',_("Japanese")), |
| 65 | 'el_GR' => array('Greek',_("Greek")), |
| 66 | 'bg_BG' => array('ÐÑлгаÑÑкО езОк',_("Bulgarian")), |
| 67 | 'sv_SE' => array('Svenska',_("Swedish")), |
| 68 | 'it_IT' => array('Italiano', _("Italian")) |
| 69 | ); |
| 70 | return $retval; |
| 71 | } |
| 72 | ?> |
| 73 |
Note: See TracBrowser for help on using the browser.
