I18Nv2::createLocale()

I18Nv2::createLocale()  -- Create an I18Nv2_Locale object

Synopsis

require_once 'I18Nv2.php';

object I18Nv2_Locale &I18Nv2::createLocale ([string $locale = NULL])

Description

Create a new I18Nv2_Locale object with the specified locale.

Parameter

string $locale

a locale like en_US or de_DE

Return value

Returns new object I18Nv2_Locale.

Note

This function should be called statically.

See

See also I18Nv2_Locale.