|
Locale::lookuplocale_lookupSearches the language tag list for the best match to the language BeschreibungObjektorientierter Stil
public
static
string
Locale::lookup
( array
$langtag
, string $locale
[, bool $canonicalize = false
[, string $default
]] )Prozeduraler Stil
string
locale_lookup
( array
$langtag
, string $locale
[, bool $canonicalize = false
[, string $default
]] )
Searches the items in Parameter-Liste
RückgabewerteThe closest matching language tag or default value. BeispieleBeispiel #1 locale_lookup example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: de_de_1996 Siehe auch
|