previousI18Nv2::langs2locales (Previous) (Next) Class Summary I18Nv2_Localenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

I18Nv2::locales2langs

I18Nv2::locales2langs() – Transform locales to languages

Synopsis

require_once '/I18Nv2.php';

array I18Nv2::locales2langs ( array $locales )

Description

Transforms locale codes like en_US and de_DE to language codes like en-US and de-DE.

Parameter

array $locales

array of locale codes

Return value

Returns array transformed loclae codes as language codes.

Note

This function should be called statically.

See

See also I18Nv2::langs2locales().

previousI18Nv2::langs2locales (Previous) (Next) Class Summary I18Nv2_Localenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.