[ class tree: I18Nv2 ] [ index: I18Nv2 ] [ all elements ]

File: setting_a_locale.php

Source Location: /I18Nv2-0.11.4/docs/examples/setting_a_locale.php


Page Details:


require_once(I18Nv2.php) [line 19]
Setting a locale ================

Because Un*x and Windows use different locale codes, PHPs setLocale() is not easily portable - I18Nv2::setLocale() attempts to provide this portability.

With I18Nv2 you can use standard locale codes like 'en_US' on both, Linux and Windows, though the list is far not complete yet, so if you stumble over a not covered locale (I18Nv2::$locales in I18Nv2::_main()), just drop a mail to <mike(@)php.net> with the missing locale and its corresponding Win32 code.

$Id: setting_a_locale.php,v 1.1 2004/05/03 15:02:17 mike Exp $

Documentation generated on Wed, 08 Mar 2006 08:48:15 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.