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.

Automatically transform output between character sets (Previous) Create an I18Nv2_Negotiator object (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.