Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0

Request #12507 Added Locale for Switzerland
Submitted: 2007-11-22 16:20 UTC
From: gmb2007 Assigned: cweiske
Status: Closed Package: I18N (version 0.8.6)
PHP Version: 4.4.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-11-22 16:20 UTC] gmb2007 (Bjoern Zapadlo)
Description: ------------ Please add locales for sitzerland in next release. Sample attached code. regards Bjoern <?php // +----------------------------------------------------------------------+ // | PHP version 4.0 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003 The PHP Group | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is | // | available at through the world-wide-web at | // | http://www.php.net/license/2_02.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Authors: Wolfram Kriesing <wk@visionp.de> | // | | // +----------------------------------------------------------------------+// // $Id: de_AT.php,v 1.2 2003/01/04 11:55:26 mj Exp $ require_once('I18N/Common/de.php'); class I18N_Common_de_CH extends I18N_Common_de { function I18N_Common_de_CH() { $this->currencyFormats = array( I18N_CURRENCY_LOCAL => array( '% CHF' , '2',',','.' ), I18N_CURRENCY_INTERNATIONAL => array( '% CHF' , '2',',','.' ), ); } } ?>

Comments

 [2010-02-14 00:24 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Fixed in 1.0.0